Delete Invite
api/admin/invites/delete
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/admin/invites/delete Changed · +8 / -13 lines
# Delete Invite ## Path parameters ## Returns ## Example ### Response (200) ## Delete Invite ### Path Parameters ### Returns ### Example #### Response
---- -title: Delete Invite -url: https://platform.claude.com/docs/en/api/admin/invites/delete ---- +# Delete Invite -## Delete Invite +**DELETE** `/v1/organizations/invites/{invite_id}` -**delete** `/v1/organizations/invites/{invite_id}` - For Claude Enterprise organizations, this endpoint's availability is in beta. -### Path Parameters +## Path parameters - `invite_id: string` ID of the Invite. -### Returns +## Returns - `id: string`
For Invites, this is always `"invite_deleted"`. - - `"invite_deleted"` + default: invite_deleted -### Example +## Example -```http +```bash curl https://api.anthropic.com/v1/organizations/invites/$INVITE_ID \ -X DELETE \ -H 'anthropic-version: 2023-06-01' \
-H "Authorization: Bearer $ANTHROPIC_OAUTH_TOKEN" ``` -#### Response +### Response (200) ```json {