Skip to main content
PUT
/
resource-planner
/
time-off-types
/
{type_id}
Update Time Off Type
curl --request PUT \
  --url https://api.everhour.com/resource-planner/time-off-types/{type_id} \
  --header 'Content-Type: application/json' \
  --header 'X-Api-Key: <api-key>' \
  --data '
{
  "name": "Sick",
  "color": "#4babe5",
  "paid": true,
  "description": "some notes"
}
'
{
  "id": 876534,
  "name": "Sick",
  "color": "#4babe5",
  "paid": true,
  "description": "some notes"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

type_id
number
required

Body

application/json
name
string
Example:

"Sick"

color
string
Example:

"#4babe5"

paid
boolean
Example:

true

description
string
Example:

"some notes"

Response

OK

id
number
Example:

876534

name
string
Example:

"Sick"

color
string
Example:

"#4babe5"

paid
boolean
Example:

true

description
string
Example:

"some notes"