v22

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-01140308542.4 KB
svc-org-management_other

Update user status in an organization

patch/organizations/{organization_id}/users/{user_id}

Path parameters

organization_idstring required

Organization ID or label identifier

Organization ID or label

user_idstring required

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

Example:ab3def8hij2klm9opq5rst7uvw

User ID

Headers

X-Client-Request-IDstring uuid

Unique request identifier specified by the originating caller and passed along by proxies.

Request body

status'active' | 'disabled'

Status of organization membership

role'org_admin' | 'org_member' | 'org_viewer'

User's role in the organization

Response

User updated successfully

idstring required

Identifier for API resources. A 26-char nanoid (URL/DNS safe).

emailstring email

User email address

role'org_admin' | 'org_member' | 'org_viewer' required

User's role in the organization

sourcestring uri required

Identity provider issuer

status'active' | 'disabled' required

Status of organization membership

created_atstring date-time required

The time the entity was created in utc

updated_atstring date-time required

The time the entity was mostly recently updated in utc

permissionsOrgManagementPermissions

Permissions granted to the authenticated principal for this resource. Only populated when the 'expand[]=permissions' query parameter is provided. Keys are resource types (e.g., "organizations"), values are objects mapping permission names to boolean values indicating if the permission is granted.

Example response

{
  "id": "ab3def8hij2klm9opq5rst7uvw",
  "permissions": {
    "organizations": {
      "read": true,
      "update": true
    },
    "users": {
      "read": true,
      "list": true
    }
  }
}