Skip to content
Get started

Remove a user from an organization

delete/v1/orgs/{orgId}/users

Removes a user's association with an organization, revoking their access to organization-specific resources. The user account remains active but is no longer linked to this organization.

Path ParametersExpand Collapse
orgId: string

Unique organization identifier. Format: org_{32-hex-chars}

Body ParametersExpand Collapse
userId: string

User ID to remove from the organization. Format: usr_{32-hex-chars}

ReturnsExpand Collapse
success: boolean
message: optional string
Remove a user from an organization
curl https://api.avarasoftware.com/v1/orgs/$ORG_ID/users \
    -X DELETE \
    -H "Authorization: Bearer $AVARA_API_KEY"
{
  "success": true,
  "message": "Operation completed successfully"
}
Returns Examples
{
  "success": true,
  "message": "Operation completed successfully"
}