Skip to content
Developers
Time off

Reject a time off request

POST /time-off/{request_id}/reject

POST
/time-off/{request_id}/reject

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

request_id*string

Time off request ID.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

rejectionReason*string

Human-readable reason for rejection.

Response Body

application/json

curl -X POST "https://loading/api/v1/time-off/string/reject" \  -H "Content-Type: application/json" \  -d '{    "rejectionReason": "Coverage needed this week"  }'
{
  "data": {
    "rejectionReason": "Coverage needed this week"
  }
}
Empty
Empty
Empty
Empty