curl --request DELETE \
--url https://api.openai.com/v1/organization/invites/{invite_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.invite.deleted",
"id": "<string>",
"deleted": true
}
Delete an invite. If the invite has already been accepted, it cannot be deleted.
curl --request DELETE \
--url https://api.openai.com/v1/organization/invites/{invite_id} \
--header 'Authorization: Bearer <token>'
{
"object": "organization.invite.deleted",
"id": "<string>",
"deleted": true
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The ID of the invite to delete.
Invite deleted successfully.
The response is of type object
.
Was this page helpful?