Get current workspace settings
Successful response
Update the workspace settings
const response = await fetch('https://api.absentify.com/api/v1/workspace', { method: 'GET', headers: {}, }); const data = await response.json();
{ "id": "text", "createdAt": "2024-07-27T07:24:13.270Z", "global_date_format": "text", "global_language": "text", "global_time_format": "H12", "global_timezone": "text", "global_week_start": "text", "global_name_format": "Microsoft_DisplayName", "name": "text", "updatedAt": "2024-07-27T07:24:13.270Z", "privacy_show_calendarview": false, "privacy_show_otherdepartments": false, "privacy_show_absences_in_past": false, "fiscal_year_start_month": 0 }
const response = await fetch('https://api.absentify.com/api/v1/workspace', { method: 'PUT', headers: { "Content-Type": "application/json" }, body: JSON.stringify({}), }); const data = await response.json();
123e4567-e89b-12d3-a456-426614174000