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>

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

The model to assign or unassign the current user to/from an absence region.

regionIdstring or nullOptionalformat: "uuid"
The id of the region to assign the users to. If null, removes the user from any absence region.

Response

No Content

Errors