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/revokeParameters
| Name | Location | Type | Required |
|---|---|---|---|
organization_id | path | string | Yes |
Request body
application/json · RevokeGrants
| Field | Type | Required |
|---|---|---|
clientInternal client ID. | string | null | No |
grant_id | string | null | No |
organization_id | string | null | No |
resource | string | null | No |
user_id | string | null | No |
Responses
| Status | Description | Body |
|---|---|---|
200 | OK | RevokedGrants application/json |
400 | Invalid request | ErrorBody application/json |
401 | Authentication required | ErrorBody application/json |
403 | Forbidden | ErrorBody application/json |
404 | Not found | ErrorBody application/json |
409 | Conflict | ErrorBody application/json |
413 | Request too large | ErrorBody application/json |
415 | JSON content type required | ErrorBody application/json |
500 | Internal error | ErrorBody application/json |
501 | Unsupported capability | ErrorBody application/json |
503 | Provider unavailable or request timed out | ErrorBody application/json |