Docs
Update Organization Permissions
PUT /Organizations/{orgId}/permissions
PUT
/Organizations/{orgId}/permissionsReplaces the verbs a user is granted directly at the organization (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 the organization is refused (400) by name. 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 |