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

PUT

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.

Request

This endpoint expects an object.
regionIdstringOptional

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