Remove a member from the organization.

delete/v1/organizations/users/{user_id}

Request

  • Base URL
    https://api.anthropic.com
  • Auth
    none declared

Path parameters

user_idstring required

ID of the User.

Headers

anthropic-versionstring

The version of the Claude API you want to use.

Read more about versioning and our version history here.

Response

Successful Response

idstring required

ID of the User.

type'user_deleted' required

Deleted object type.

For Users, this is always "user_deleted".

Example response

{
  "id": "user_01WxYzAbCdEfGhJkMnPqRsTu"
}

Changes

    • warning

      deleted the header request parameter x-api-key

    • breaking

      the response's property type changed from no type to object for status

    • breaking

      the response's property type changed from no type to object for status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      removed discriminator from response property for the response status

    • info

      removed discriminator from response property for the response status

    • info

      removed from the response property oneOf list for the response status

    • info

      removed from the response property oneOf list for the response status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status