Requests
Approve a request
Changed onApprove a pending request on behalf of the user who created the API token. The API automatically finds the next pending approval and approves it. This acts on the request approvers only and never on a change request: to decide a change of an approved request use POST /requests/{id}/changes/{changeId}/approve.
post/requests/{id}/approve
Request
- Base URLhttps://api.absentify.com/api/v1
- URLhttps://api.absentify.com/api/v1/requests/{id}/approve
- AuthAPI key in header X-API-KEY
Path parameters
idstring uuid required
Request body
Response
Successful response
Changes
- info
added optional request body
- info
- warning
changed the pattern of the
pathrequest parameteridfrom^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$to^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
- warning