EaserixDocs
DevelopersAPI referenceCronCrunchTime off

Update a time off policy

Team workspaces only, owner or admin. Archived policies keep their requests and accept no new ones. A missing policy in this workspace is 404.

View as Markdown
PATCH
/v1/time-off/policies/{id}
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/v1/time-off/policies/string" \  -H "Content-Type: application/json" \  -d '{}'
{  "policy": {    "id": "string",    "name": "string",    "daysPerYear": 0,    "archived": true  }}