DELETE/organization/invites/{invite_id}

Delete invite

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

1 parameter
invite_idstringrequired
The ID of the invite to delete.

5 status codes
200Invite deleted successfully.
objectstringrequired
The object type, which is always `organization.invite.deleted`
Allowed:organization.invite.deleted
idstringrequired
deletedbooleanrequired
400The request is invalid or the invite cannot be deleted in its current state.
errorobjectrequired
403The caller is not permitted to delete the invite.
errorobjectrequired
Details about the permission error.
404The invite was not found in the organization.
errorobjectrequired
429The request rate limit was exceeded.
errorobjectrequired

Error handling

A 400 is returned: The request is invalid or the invite cannot be deleted in its current state. A 403 is returned: The caller is not permitted to delete the invite. A 404 is returned: The invite was not found in the organization. A 429 is returned: The request rate limit was exceeded.