Change a request
Change the reason or the period of a request on behalf of the user who created the API token.
Pending requests can change dates and reason. Approved requests can only change the reason. A new period on a pending request restarts the approval; a reason change never does. The leave type must allow changes (allow_request_changes); if it does not, the call is rejected with 403, like a request that has already started or that the caller may not change. A non-admin passing admin_approval_option: approve_request_immediately gets 403 too.
Send start and end together to change the period. Send reason to change the reason, or null to clear it. The response is the recorded change with its status.
Path parameters
Request body
Response
Successful response
Changes
Changed in 1 of the 15 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○