Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url http://localhost:3000/v1/scanner/leave/{id}/decline \ --header 'Content-Type: application/json' \ --data ' { "comment": "<string>" } '
{ "success": true, "message": "<string>", "error": "<string>", "deputy_configured": true }
Decline a leave request in Deputy with optional comment.
Leave request ID
"12345"
Leave declined successfully