Update Time Off Policy

Partially updates a time off policy using JSON Merge Patch semantics. A supplied version replaces the complete accrual schedule by archiving overlapping versions and creating a new version, matching admin Edit Schedule.

OAuth Scopes: time_off:policies.write

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The time off policy ID.

Body Params

Data contract for partially updating a time off policy. All fields are optional, but at least one must be supplied. The version replaces the complete accrual schedule.

string
length ≤ 100

The policy name. Must be unique among active policies in the category.

version
object

The complete replacement accrual schedule. Only valid for ACCRUING policies.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/merge-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json