Skip to main content
PATCH
Update your time off!

Authorizations

Authorization
string
header
required

Enter the bearer token

Path Parameters

id
number
required

Body

application/json
startDate
string
required

The start date of the time off in Zulu time

Example:

"2024-01-01T00:00:00.000Z"

endDate
string
required

The end date of the time off in Zulu time

Example:

"2024-01-02T23:59:59.999Z"

type
string
required

The type of the time off

Example:

"VACATION"

description
string

The description of the time off

Example:

"I'm going to be on vacation"

Response

Operation successful

status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string<date-time>
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object
required

The response for create/update/delete time off operations