Delete a pending invite.

delete/v1/organizations/invites/{invite_id}?beta=true

Request

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

Path parameters

invite_idstring required

ID of the Invite.

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 Invite.

type'invite_deleted' required

Deleted object type.

For Invites, this is always "invite_deleted".

Example response

{
  "id": "invite_015gWxCN9Hfg2QhZwTK7Mdeu"
}

Changes

    • 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

      removed discriminator from response property 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

    • warning

      deleted the header request parameter x-api-key