Sets the current user's absence region.
Sets the current user's absence region. A user can have only one region; assigning a new region replaces the previous one. A null region id removes the current assignment.
<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.
regionId
The id of the region to assign the users to.
If null, removes the user from any absence region.
Response
No Content
Errors
400
Bad Request Error
404
Not Found Error

