cURL
curl --request PATCH \ --url https://www.ruddr.io/api/workspace/time-off-types/{id} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "isActive": true, "isPaid": true } '
200
Result
{ "id": "f1c5d8a3-7b24-4e69-90f7-a4e2b6d01c85", "name": "Personal Day", "isActive": true, "isPaid": false, "createdAt": "2025-10-03T15:29:53.167Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The time off type uuid.
uuid
The name of the time off type. Max 255 characters.
Whether the time off type is active.
Whether time off of this type is paid.
The unique identifier for the object.
The name of the time off type.
The timestamp when the object was created.