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": "7c3a1d82-4f9e-4b6c-a2d5-1e8f03c947b6", "name": "Vacation", "isActive": true, "isPaid": true, "createdAt": "2025-03-12T14:22:37.891Z" }
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.
Whether the time off type is active.
Whether time off of this type is paid.
The unique identifier for the object.
The timestamp when the object was created.