Developers
API ReferenceVacation Type

Creates a VacationType resource.

PATCH
/calendar/vacation-types/{id}

Creates a VacationType resource.

Authorization<token>

Value for the Authorization header parameter.

In: header

Path Parameters

id*string

VacationType identifier

Request Body

The updated VacationType resource

TypeScript Definitions

Use the request body type in TypeScript.

name?string
Lengthlength <= 100
isActive?boolean

Response Body

curl -X PATCH "https://example.com/calendar/vacation-types/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "decrementVacation": true,  "isActive": true}