Assign/remove users to an absence region.

Only an admin or a user with UserPlanningData(write) permissions can assign/remove any user to 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 an empty list of user ids will remove all users from the absence region. <Check title="Required Permissions">The user must be an admin or have `user-planning-data:write` permissions.</Check>

Headers

AuthorizationstringRequired

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

Request

The model assign/remove users to/from the region.

userIdslist of stringsRequired
The list of userIds to assign to that region. Providing an empty list of user ids will remove all users from the absence region.
regionIdstringRequiredformat: "uuid"
The id of the region to assign the users to.

Response

No Content