Docs

Update Department Permissions

PUT /Departments/{departmentId}/permissions

PUT/Departments/{departmentId}/permissions

Replaces the verbs a user is granted directly on one department (feature.verb, or * for admin). Pass the full set to keep; anything omitted is removed, and role grants are untouched. A string that is not a verb valid at a department is refused (400) by name. Needs organization admin on the owning organization. The user's department token is revoked.

Path Parameters

FieldTypeRequiredDescription
departmentIduuidRequired

Request Body

FieldTypeRequiredDescription
userIduuidOptional
permissionsstring[]Optional