Skip to content

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 https://api.openai.com/v1/organization/invites/$INVITE_ID \
    -X DELETE \
    -H "Authorization: Bearer $OPENAI_API_KEY"
{
  "id": "id",
  "deleted": true,
  "object": "organization.invite.deleted"
}
Returns Examples
{
  "id": "id",
  "deleted": true,
  "object": "organization.invite.deleted"
}