Skip to content
Primary navigation

Delete invite

DELETE/organization/invites/{invite_id}

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

Path ParametersExpand Collapse
invite_id: string
ReturnsExpand Collapse
id: string
deleted: boolean
object: "organization.invite.deleted"

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

Delete invite

curl -X DELETE https://api.openai.com/v1/organization/invites/invite-abc \
  -H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
  -H "Content-Type: application/json"
{
    "object": "organization.invite.deleted",
    "id": "invite-abc",
    "deleted": true
}
Returns Examples
{
    "object": "organization.invite.deleted",
    "id": "invite-abc",
    "deleted": true
}