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. As such, if a user is already assigned to an absence region, he 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.

Required Permissions
Any authenticated user.

Headers

AuthorizationstringRequired

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

Request

This endpoint expects an object.
regionIdUUID or nullOptional

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

Response

No Content