Update Time Off

Updates a Time Off record. Warning: Updating the status of a time off through this endpoint is deprecated and will be removed on January 13, 2025. To approve or cancel an approved time off, use the /approve and /cancel endpoints instead.

Scopes

CategoryRead only ScopeWrite only Scope (read access implicit)
Manage timeoffs (time_and_attendance)-Manage timeoffs (timeoff:write)
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Timeoff ID

Body Params

UpdateTimeoff

date-time

UTC date time in ISO 8601 format.

string | null

The field matches the id of a user in the Remote Platform that has permission to approve time off requests. Available users can be found fetching the List Company Manager endpoint.

string
required

The reason for cancelling a time off. Required when updating to status cancelled.

document
object

Timeoff document params

string
required

The reason for the update. Required when updating the time off data but not changing the status.

date

UTC date in ISO 8601 format

string
date

UTC date in ISO 8601 format

string
enum
deprecated
Allowed:
timeoff_days
array of objects
timeoff_days
string
enum
string
Headers
string
required

Requires a Company-scoped access token obtained through the Authorization Code flow or the Refresh Token flow.

The refresh token needs to have been obtained through the Authorization Code flow.

Responses

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