access_revocations

Create an access revocation

Changed on

Creates a revocation for the access identified by access_state_id. For a resource-scoped access state, produces one revocation against that resource.For an app-wide access state (no resource), produces the equivalent app-wide revocation.

post/api/v1/access_revocations

Request

  • Base URL
    https://app.accessowl.io
  • URL
    https://app.accessowl.io/api/v1/access_revocations
  • Auth
    HTTP bearer

Headers

Idempotency-Keystring

Optional key (1–255 chars) for safely retrying a request. Reusing the same key for the same request returns 409 Conflict and is not processed again — this confirms the request was already received. Keys are retained for 14 days.

Request body

access_state_idstring uuid required

Access state ID identifying the access to revoke

reasonstring required

Reason for the revocation

Example request

{
  "access_state_id": "7488a646-e31f-11e4-aace-600308960663",
  "reason": "Role no longer requires this access"
}

Response

Access revocation created

application_idstring uuid required

Application ID

grantee_user_idstring uuid

User ID of the grantee

idstring uuid required

Access revocation ID

inserted_atstring date-time

Creation timestamp

permission_idsstring[] nullable

Permission IDs being revoked

provisioning_type'application_admin' | 'automatic' nullable

Provisioning type

reasonstring required

Revocation reason

requestor_user_idstring uuid

User ID of the requestor

resource_idstring uuid nullable

Resource ID (null for app-wide revocations)

status'processing_access' | 'rejected' | 'revoked' required

Current status of the revocation

termination_reasonstring nullable

The provisioner's rejection reason when the revocation was rejected; null otherwise

Changes

    • breaking

      response property errors/additionalProperties/items/ list-of-types was widened by adding types object to media type application/json of response 422

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      added the new forbidden enum value to the response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status