Skip to Content
DevelopersAPI referenceTime

Withdraw (timesheet approvals)

POST
/v1/timesheet-approvals/withdraw

Authorization

apiKey
headerAuthorizationBearer <token>

An API key (blk_…) from Settings → API keys.

Request Body

application/json
  1. body
week*string
Match^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))$
Formatdate

Response Body

Example Request
curl -X POST 'https://your-billleaf-api/v1/timesheet-approvals/withdraw' \  -H 'Content-Type: application/json' \  -d '{  "week": "2019-08-24"}'
Example Response204
Empty