Skip to main content
DELETE
/
api
/
v1
/
organizations
/
{org_id}
/
users
/
{user_id}
Remove User
curl --request DELETE \
  --url https://anaconda.com/api/v1/organizations/{org_id}/users/{user_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "message": "<string>",
    "code": "<string>",
    "data": "<unknown>"
  }
}
To fully remove a user from your organization, complete these steps in order:
  1. Revoke the user’s token
  2. Revoke the user’s seat
  3. Remove the user (this endpoint)

Authorizations

Authorization
string
header
required

Bearer token obtained by authenticating with service account credentials (client_id and client_secret).

See the Getting started page for the full authentication flow.

Path Parameters

org_id
string
required

Your organization ID, found in your organization's URL: anaconda.com/app/organizations/<ORG_ID>/.

user_id
string<uuid>
required

The unique identifier of the user to remove.

Response

User removed successfully