curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invited_email": "[email protected]"
}
'{
"status": 123,
"detail": "<string>",
"title": "<string>",
"type": "<string>"
}Revokes all organization and repository invitations for a specific email address within the organization.
curl --request POST \
--url https://api.diversion.dev/v0/organizations/{org_id}/invites/revoke \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"invited_email": "[email protected]"
}
'{
"status": 123,
"detail": "<string>",
"title": "<string>",
"type": "<string>"
}This API uses OAuth 2 with the implicit grant flow
An ID of an organization
Email address of the user whose invites should be revoked
Request completed successfully