> ## Documentation Index
> Fetch the complete documentation index at: https://docs.accessowl.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List access revocations

> Returns a paginated list of access revocations visible to the authenticated caller.



## OpenAPI

````yaml GET /api/v1/access_revocations
openapi: 3.0.0
info:
  description: REST API for AccessOwl third-party integrations
  title: AccessOwl API
  version: 1.0.0
servers:
  - url: https://api.accessowl.com
    variables: {}
security:
  - bearer: []
tags: []
paths:
  /api/v1/access_revocations:
    get:
      tags:
        - access_revocations
      summary: List access revocations
      description: >-
        Returns a paginated list of access revocations visible to the
        authenticated caller.
      operationId: AccessOwlApi.AccessRevocationController.index
      parameters:
        - description: 'Maximum results to return (default: 20, max: 100)'
          in: query
          name: limit
          required: false
          schema:
            type: integer
        - description: >-
            Opaque cursor returned in the previous response's
            `meta.next_cursor`. Omit for the first page.
          in: query
          name: cursor
          required: false
          schema:
            type: string
        - description: Filter by revocation status
          in: query
          name: status
          required: false
          schema:
            enum:
              - processing_access
              - revoked
              - rejected
            type: string
        - description: Filter by the grantee user (the user the revocation is for)
          in: query
          name: user_id
          required: false
          schema:
            format: uuid
            type: string
        - description: Filter by application
          in: query
          name: application_id
          required: false
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessRevocationList'
          description: Access revocation list
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BadRequestError'
          description: Bad request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Unauthorized
      callbacks: {}
components:
  schemas:
    AccessRevocationList:
      description: Paginated list of access revocations
      properties:
        data:
          description: List of access revocations
          items:
            $ref: '#/components/schemas/AccessRevocation'
          type: array
        meta:
          $ref: '#/components/schemas/PaginationMeta'
      required:
        - data
        - meta
      title: AccessRevocationList
      type: object
    BadRequestError:
      additionalProperties: false
      description: Error response for a malformed or invalid request
      example:
        error: invalid_params
        errors:
          - field: application_id
            messages:
              - is invalid
        message: Invalid request parameters
      properties:
        error:
          description: Error code
          example: invalid_params
          type: string
        errors:
          description: >-
            One entry per rejected parameter. Present when a query or path
            parameter fails validation, and omitted for other bad requests.
          items:
            additionalProperties: false
            properties:
              field:
                description: Name of the rejected parameter
                example: application_id
                type: string
              messages:
                description: Reasons the value was rejected
                example:
                  - is invalid
                items:
                  type: string
                type: array
            required:
              - field
              - messages
            type: object
          type: array
        message:
          description: Human-readable error message
          example: Invalid request parameters
          type: string
      required:
        - error
        - message
      title: BadRequestError
      type: object
    Error:
      description: Standard error response
      example:
        error: not_found
        message: Resource not found
      properties:
        error:
          description: Error code
          example: not_found
          type: string
        errors:
          additionalProperties:
            items:
              type: string
            type: array
          description: >-
            Field-specific validation errors, keyed by field name. Present on
            422 responses. A 400 response reports its errors as a list instead —
            see the BadRequestError schema.
          example:
            email:
              - has invalid format
            first_name:
              - can't be blank
          type: object
        message:
          description: Human-readable error message
          example: Resource not found
          type: string
      required:
        - error
        - message
      title: Error
      type: object
    AccessRevocation:
      description: An access revocation
      properties:
        application_id:
          description: Application ID
          format: uuid
          type: string
        grantee_user_id:
          description: User ID of the grantee
          format: uuid
          type: string
        id:
          description: Access revocation ID
          format: uuid
          type: string
        inserted_at:
          description: Creation timestamp
          format: date-time
          type: string
        permission_ids:
          description: Permission IDs being revoked
          items:
            format: uuid
            type: string
          nullable: true
          type: array
        provisioning_type:
          description: Provisioning type
          enum:
            - application_admin
            - automatic
          nullable: true
          type: string
        reason:
          description: Revocation reason
          type: string
        requestor_user_id:
          description: User ID of the requestor
          format: uuid
          type: string
        resource_id:
          description: Resource ID (null for app-wide revocations)
          format: uuid
          nullable: true
          type: string
        status:
          description: Current status of the revocation
          enum:
            - processing_access
            - rejected
            - revoked
          type: string
        termination_reason:
          description: >-
            The provisioner's rejection reason when the revocation was rejected;
            null otherwise
          nullable: true
          type: string
      required:
        - id
        - application_id
        - reason
        - status
      title: AccessRevocation
      type: object
    PaginationMeta:
      description: Pagination metadata
      example:
        page: 1
        page_size: 20
        total_count: 100
        total_pages: 5
      properties:
        page:
          description: Current page number
          type: integer
        page_size:
          description: Items per page
          type: integer
        total_count:
          description: Total number of items
          type: integer
        total_pages:
          description: Total number of pages
          type: integer
      required:
        - page
        - page_size
        - total_count
        - total_pages
      title: PaginationMeta
      type: object
  securitySchemes:
    bearer:
      description: >-
        Bearer token authentication. Pass your AccessOwl API token in the
        `Authorization` header as `Bearer <token>`.
      scheme: bearer
      type: http

````