Requests

Withdraw a change of a request

Changed on

Withdraw the pending change of an approved request on behalf of the user who created the API token. The requester, a manager of the requester or an admin can do this. The request stays as it was. Fails with 409 when the change is no longer pending or when revision does not match the request.

post/requests/{id}/changes/{changeId}/withdraw

Request

  • Base URL
    https://api.absentify.com/api/v1
  • URL
    https://api.absentify.com/api/v1/requests/{id}/changes/{changeId}/withdraw
  • Auth
    API key in header X-API-KEY

Path parameters

idstring uuid required
changeIdinteger required

Request body

reasonstring nullable

The reason for withdrawing the change.

revisioninteger

Revision you last saw (from GET /requests/{id} or the webhook). If the request was changed since, the call fails with 409 and nothing happens.

Response

Successful response

successboolean required
messagestring required

Changes