Timeoff
Update status
PATCH
/
staff
/
timeoff
/
{workspaceId}
/
{staffId}
/
{timeoffId}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
workspaceId
string
requiredstaffId
string
requiredtimeoffId
string
requiredBody
application/json
status
enum<string>
requiredAvailable options:
approved
, denied
Response
200 - application/json
start
string
requiredend
string
requirednotes
string
requiredtype
enum<string>
requiredAvailable options:
medical
, mental_health
, personal
, holiday
, moving_house
, education
, religious
, bereavement
, military
, other
status
enum<string>
requiredAvailable options:
pending
, approved
, denied
, cancelled
user
string
requiredworkspace
string
requiredcreatedAt
string
requiredupdatedAt
string
required_id
string
requiredother
string
status_changed_by
string