curl --request POST \
--url http://localhost:3000/v1/scheduling/leave/{id}/decline \
--header 'Content-Type: application/json' \
--data '
{
"comment": "<string>"
}
'{
"success": true,
"message": "<string>"
}Decline a leave request in Deputy with an optional comment.
curl --request POST \
--url http://localhost:3000/v1/scheduling/leave/{id}/decline \
--header 'Content-Type: application/json' \
--data '
{
"comment": "<string>"
}
'{
"success": true,
"message": "<string>"
}