Skip to main content
POST
/
organizations
/
{org_id}
/
invites
/
revoke
Revoke invites by email
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>"
}

Authorizations

Authorization
string
header
required

This API uses OAuth 2 with the implicit grant flow

Path Parameters

org_id
string
required

An ID of an organization

Body

application/json
invited_email
string<email>
required

Email address of the user whose invites should be revoked

Response

Request completed successfully