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

DELETE /organization/invites/{invite_id}

Path parameters

  • invite_id string Required

    The ID of the invite to delete.

Responses

  • 200 application/json

    Invite deleted successfully.

    Hide response attributes Show response attributes object
    • object string Required

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

      Value is organization.invite.deleted.

    • id string Required
    • deleted boolean Required
DELETE /organization/invites/{invite_id}
curl \
 --request DELETE 'https://api.openai.com/v1/organization/invites/{invite_id}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "object": "organization.invite.deleted",
  "id": "string",
  "deleted": true
}