DELETE
/
staff
/
timeoff
/
{workspaceId}
/
{staffId}
curl --request DELETE \
  --url https://api.hyra.io/staff/timeoff/{workspaceId}/{staffId} \
  --header 'Authorization: Bearer <token>'
{
  "affected_requests": [
    "<string>"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspaceId
string
required
staffId
string
required

Response

200 - application/json
Default Response
affected_requests
string[]
required