Skip to main content
PATCH
Update PTO earned
Replace {your-subdomain} with your workspace’s subdomain.
Learn how to find your subdomain in Workspace subdomain.

Headers

X-Api-Key
string
default:your-api-key
required

Use the X-Api-Key header to provide your workspace API key. Refer to Authentication for more information.

Body

application/json
emails
string<email>[]
required

Emails of the users to update.

Example:
month
integer
required

Month number, 1 to 12.

Required range: 1 <= x <= 12
Example:

10

year
integer
required
Example:

2026

pto_earned
number<float>

PTO earned for the month, in hours.

Example:

12

Response

200 - application/json

OK - Request succeeded

month
integer
Example:

10

year
integer
Example:

2026

updated
object[]
skipped
object[]