v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
absenceRegions

Assigns or unassigns users to/from an absence region.

A user can be assigned to only one absence region. If a user is already assigned to an absence region, they 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" icon="key">The user must be an admin or have user-planning-data:write permissions.</Check>

post/absenceregions/users/assign

Headers

Authorizationstring required

Bearer authentication

Request body

userIdsstring[] required

The list of userIds to assign to that region. Providing an empty list of user ids will remove all users from the absence region.

regionIdstring uuid required

The id of the region to assign the users to.

Response

No Content

object required