Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation
Theme

Delete invite

$ openai admin:organization:invites delete
DELETE
/organization/invites/{invite_id}

Delete an invite. If the invite has already been accepted, it cannot be deleted.

Delete invite

openai admin:organization:invites delete \
  --admin-api-key 'My Admin API Key' \
  --invite-id invite_id
Response example
{
    "object": "organization.invite.deleted",
    "id": "invite-abc",
    "deleted": true
}
Parameters
--invite-id: string

The ID of the invite to delete.

Returns
AdminOrganizationInviteDeleteResponse: object { id, deleted, object }
id: string
deleted: boolean
object: "organization.invite.deleted"

The object type, which is always organization.invite.deleted

Returns Examples
Response example
{
    "object": "organization.invite.deleted",
    "id": "invite-abc",
    "deleted": true
}