Update global holidays from tenant holidays.
The unique ID of user.
A collection of ID of tenant's holiday.
Created
The unique ID of holiday.
Retrieve a collection of global holidays.
OK
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/global_holidays', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
{ "id": {} }
const response = await fetch('http://127.0.0.1:8888/api/users/{id}/global_holidays', { method: 'GET', headers: {}, }); const data = await response.json();
{ "items": [ { "id": {}, "name": "text", "region": "text", "consecutive": false, "every_year": false } ] }