Skip to main content
PUT
Assign departments to a company user (member).

Authorizations

X-API-Key
string
header
required

Company API key - scoped to a specific company. Generate from the Integrations page in your dashboard.

Path Parameters

company_user_id
string
required

Body

application/json

Department assignment data

Request body for assigning departments

companyId
string
required

Company ID

departmentIds
string[]
required

List of department IDs to assign

Response

User departments updated successfully

Success response

message
string

Success message