Open Enterprise
Browse topics
API referenceOrganizations

Revokes grants of one organization. Every filter applies inside the organization in the path, and a request that names another organization is refused, so an administrator cannot reach another organization's grants.

POST/v1/organizations/{organization_id}/oauth/grants/revoke

Parameters

NameLocationTypeRequired
organization_idpathstringYes

Request body

application/json · RevokeGrants

FieldTypeRequired
client

Internal client ID.

string | nullNo
grant_idstring | nullNo
organization_idstring | nullNo
resourcestring | nullNo
user_idstring | nullNo

Responses

StatusDescriptionBody
200OKRevokedGrants application/json
400Invalid requestErrorBody application/json
401Authentication requiredErrorBody application/json
403ForbiddenErrorBody application/json
404Not foundErrorBody application/json
409ConflictErrorBody application/json
413Request too largeErrorBody application/json
415JSON content type requiredErrorBody application/json
500Internal errorErrorBody application/json
501Unsupported capabilityErrorBody application/json
503Provider unavailable or request timed outErrorBody application/json

Search documentation