Skip to main content
POST
/
v1
/
scheduling
/
leave
/
{id}
/
decline
Decline leave request
curl --request POST \
  --url http://localhost:3000/v1/scheduling/leave/{id}/decline \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}

Path Parameters

id
integer | null

Leave request ID

Example:

12345

Body

application/json

Decline leave body

comment
string

Decline reason

Response

Leave declined

Decline leave response

success
boolean
required
message
string
required