Remove a user from an organization
/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 Parameters
orgId: string
Unique organization identifier. Format: org_{32-hex-chars}
Body Parameters
userId: string
User ID to remove from the organization. Format: usr_{32-hex-chars}
Returns
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"
}