Skip to content
Get started

Remove a user from a customer

DELETE/v1/express/{expressCustomerId}/users

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

Path ParametersExpand Collapse
expressCustomerId: string

Unique Express customer identifier. Format: cus_{32-hex-chars}

Body ParametersJSONExpand Collapse
userId: string

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

ReturnsExpand Collapse
success: boolean
message: optional string

Remove a user from a customer

curl https://api.avarasoftware.com/v1/express/$EXPRESS_CUSTOMER_ID/users \
    -X DELETE \
    -H "Authorization: Bearer $AVARA_API_KEY"
{
  "success": true,
  "message": "Operation completed successfully"
}
Returns Examples
{
  "success": true,
  "message": "Operation completed successfully"
}