cURL
curl --request DELETE \ --url https://api.hyra.io/staff/timeoff/{workspaceId}/{staffId} \ --header 'Authorization: Bearer <token>'
{ "affected_requests": [ "<string>" ] }
Stop active timeoff requests for a staff member
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Default Response
The response is of type object.
object