Requests
Approve a change of a request
Changed onApprove the pending change of an approved request on behalf of the user who created the API token. Only the approvers of the change (or an admin) can do this. When the last needed approval is in, the change is applied, the request gets the next revision and change.status becomes applied; otherwise it stays pending. Fails with 409 when the change is no longer pending or when revision does not match the request, and with 400 when the allowance no longer covers the change.
post/requests/{id}/changes/{changeId}/approve
Request
- Base URLhttps://api.absentify.com/api/v1
- URLhttps://api.absentify.com/api/v1/requests/{id}/changes/{changeId}/approve
- AuthAPI key in header X-API-KEY
Path parameters
idstring uuid required
changeIdinteger required
Request body
Response
Successful response
Changes
- info
endpoint added
- info