GoodMemGoodMem
ReferenceAPIREST APIAccess Policy

Revoke an authorization grant

Soft-revokes one grant and returns its durable historical row. Repeating the request is idempotent while the caller retains MANAGE_ACCESS on the target.

DELETE
/v1/access-policy/grants/{id}
x-api-key<token>

In: header

Path Parameters

idstring

Grant UUID

Response Body

curl -X DELETE "https://loading/v1/access-policy/grants/f276b9a4-73d6-4e04-95c5-87b974221f92"
{
  "grantId": "f276b9a4-73d6-4e04-95c5-87b974221f92",
  "audience": {
    "principalId": "70e025f6-76ca-4cbe-b8fc-7dab8e84590a"
  },
  "rule": {
    "operation": "CREATE_USER",
    "selector": "ANY",
    "assignedResource": {
      "resourceId": "550e8400-e29b-41d4-a716-446655440000"
    }
  },
  "createdAt": 0,
  "createdById": "70e025f6-76ca-4cbe-b8fc-7dab8e84590a",
  "revokedAt": 0,
  "revokedById": "114ad558-323d-4b76-85b8-37af103b8650"
}
Empty
Empty
Empty
Empty
Empty
Empty