Creates a new workspace absence.
Creates a new workspace absence. A workspace absence is a kind of absence that is applied to all users in a workspace. It can be used to define special holidays (e.g: company offsite) that apply to all users in a workspace. It can be limited to a specific absence region, in which case only users in that region will be affected.
Subscription Level
This endpoint requires the Standard plan or higher.Required Permissions
The user must be an admin or haveuser-planning-data:write
permissions.Headers
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
(optional) The id of the absence region to limit the workspace absence to. If not set, the workspace absence will apply to all users in the workspace. Otherwise, it will only apply to users in the specified absence region.
Response
The (optional) regionId of the workspace absence. If null, the absence is global for the entire workspace. Otherwise, it will be applied only to the users of the region.
If it’s true it means that this Absence is read-only and cannot be edited/deleted by the user.