Update a leave policy

Change a policy's name or description. Fields you leave out stay as they are, and an empty description clears it. A policy's leave types and award rules can't be changed through the API. See the Guide to the Leave Accrual API.

Path Params
string
required

The leave policy's id.

Body Params
string

A new name. 1 to 100 characters, unique among the company's policies. Leave out to keep the current name.

string

A new description. Send an empty string to clear it. Leave out to keep the current one.

Responses

Language
Credentials
Header
LoadingLoading…
Response
Choose an example:
application/json