Deny a time off request

Deny one pending time off request, with a message to the person.

POST https://cotlet.dev/api/v1/charliehr/requests/{request_id}/time-off-request/deny

write Confirm

Does what Deny does in the approval panel. Same roles as approve_time_off_request. The message goes to the team member, so say why. A denied request frees the days again. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: deny_time_off_request
NameTypeDescription
request_id string required string Id from list_time_off_requests
note string string Message to the team member

Request

cURL
curl -X POST https://cotlet.dev/api/v1/charliehr/requests/request_8c41d2/time-off-request/deny \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("charliehr", "deny_time_off_request", {"request_id":"request_8c41d2"})
Node.js
const result = await cotlet.call('charliehr', 'deny_time_off_request', {"request_id":"request_8c41d2"});
CLI
cotlet call charliehr deny_time_off_request --data '{"request_id":"request_8c41d2"}'

Example response

JSON

{
  "request_id": "tor_9a07d1",
  "member": "Priya Nair",
  "type": "Holiday",
  "start_date": "2026-11-16",
  "end_date": "2026-11-20",
  "days": 5,
  "status": "denied",
  "note_sent": "Two people are already off that week. Could you move it by a week?"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.