v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
absenceRegions

Assign/remove current user to/from an absence region.

Assigns or removes the current user to/from an absence region. A user can be assigned to only one absence region. If a user is already assigned to an absence region, they will be removed from the previous one and assigned to the new one. Providing a null region id will remove the user from any absence region.

<Check title="Required Permissions" icon="key">The user must be an admin or have user-planning-data:write permissions.</Check>

put/absenceregions/me/assign

Headers

Authorizationstring required

Bearer authentication

Request body

regionIdstring uuid nullable

The id of the region to assign the users to. If null, removes the user from any absence region.

Response

No Content

object required