curl --request PATCH \
--url https://platform.thena.ai/v1/users/time-off/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"startDate": "2024-01-01T00:00:00.000Z",
"endDate": "2024-01-02T23:59:59.999Z",
"type": "VACATION",
"description": "I'm going to be on vacation"
}
EOF{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"description": "<string>",
"type": "<string>"
}
}curl --request PATCH \
--url https://platform.thena.ai/v1/users/time-off/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data @- <<EOF
{
"startDate": "2024-01-01T00:00:00.000Z",
"endDate": "2024-01-02T23:59:59.999Z",
"type": "VACATION",
"description": "I'm going to be on vacation"
}
EOF{
"status": true,
"message": "Success",
"timestamp": "2024-01-01T00:00:00.000Z",
"data": {
"id": "<string>",
"startDate": "<string>",
"endDate": "<string>",
"description": "<string>",
"type": "<string>"
}
}Enter the bearer token
The start date of the time off in Zulu time
"2024-01-01T00:00:00.000Z"
The end date of the time off in Zulu time
"2024-01-02T23:59:59.999Z"
The type of the time off
"VACATION"
The description of the time off
"I'm going to be on vacation"
Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete time off operations
Show child attributes