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.
<Check title="Required Permissions">Any authenticated user.</Check>
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>
, where token is your auth token.
Request
The model assign users to the region.
regionId
The id of the region to assign the users to.
If null, removes the user from any absence region.
Response
No Content