Docs
Update Organization Permissions
PUT /Organizations/{orgId}/permissions
PUT
/Organizations/{orgId}/permissionsReplaces the permissions a user holds in the organization. Pass the full set to keep; anything omitted is removed, and organization basic access is always kept. Needs organization admin. A caller cannot change their own permissions. The user's organization token is revoked, so they receive a new one on their next authorize call.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| userId | uuid | Optional | |
| permissions | string[] | Optional |