Skip to main content
PATCH
Update unit membership

Path Parameters

user
integer
required

User ID

unit
integer
required

Unit ID of the membership to update

Body

application/json
unit
integer

Unit ID to move the membership to

userTypes
integer[]

User type IDs

department
integer | null

Department ID within the unit, or null to clear

overwrite
boolean

Whether to overwrite existing user types (default: true)

Response

Unit membership updated