Delete invite

DELETEhttps:/api.openai.com/v1/organization/invites/{invite_id}

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

Path parameters

  • invite_id
    string
    Required
    The ID of the invite to delete.

Response

Confirmation that the invite has been deleted

Example request
1
curl -X DELETE https://api.openai.com/v1/organization/invites/invite-abc \
2
-H "Authorization: Bearer $OPENAI_ADMIN_KEY" \
3
-H "Content-Type: application/json"
Example response
1
{
2
"object": "organization.invite.deleted",
3
"id": "invite-abc",
4
"deleted": true
5
}
Built with