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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# Preview integration account revocation

> Previews platform-wide revocation while redacting inaccessible organizations.



## OpenAPI

````yaml https://automate.ax/api/v1/openapi.json get /organizations/{organizationId}/integration-accounts/{accountId}/revocation-impact
openapi: 3.1.1
info:
  title: Automate.ax API
  version: 0.0.0
servers:
  - url: https://automate.ax/api/v1
security:
  - bearerAuth: []
paths:
  /organizations/{organizationId}/integration-accounts/{accountId}/revocation-impact:
    get:
      tags:
        - Integration Accounts
      summary: Preview integration account revocation
      description: >-
        Previews platform-wide revocation while redacting inaccessible
        organizations.
      operationId: getIntegrationAccountRevocationImpact
      parameters:
        - name: organizationId
          in: path
          required: true
          schema:
            type: string
        - name: accountId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  accessibleOrganizations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        projects:
                          type: array
                          items:
                            type: object
                            properties:
                              automations:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    enabled:
                                      type: boolean
                                    id:
                                      type: string
                                    identityKey:
                                      type: string
                                  required:
                                    - enabled
                                    - id
                                    - identityKey
                              id:
                                type: string
                              name:
                                type: string
                              pendingDeployments:
                                type: array
                                items:
                                  type: object
                                  properties:
                                    id:
                                      type: string
                                    status:
                                      enum:
                                        - awaiting_authorization
                                        - configuring
                                        - publishing
                                      type: string
                                  required:
                                    - id
                                    - status
                            required:
                              - automations
                              - id
                              - name
                              - pendingDeployments
                      required:
                        - id
                        - name
                        - projects
                  account:
                    type: object
                    properties:
                      id:
                        type: string
                      label:
                        type: string
                      revokedAt:
                        anyOf:
                          - type: string
                            format: date-time
                            x-native-type: date
                          - type: 'null'
                      revocation:
                        anyOf:
                          - type: object
                            properties:
                              completedAt:
                                anyOf:
                                  - type: string
                                    format: date-time
                                    x-native-type: date
                                  - type: 'null'
                              error:
                                anyOf:
                                  - type: string
                                  - type: 'null'
                              id:
                                type: string
                              requestedAt:
                                type: string
                                format: date-time
                                x-native-type: date
                              status:
                                enum:
                                  - pending
                                  - succeeded
                                  - failed
                                  - unsupported
                                type: string
                            required:
                              - completedAt
                              - error
                              - id
                              - requestedAt
                              - status
                          - type: 'null'
                      serviceId:
                        type: string
                      serviceSub:
                        type: string
                      status:
                        enum:
                          - active
                          - revocation_pending
                          - revocation_failed
                          - revoked
                        type: string
                      connectionMethodId:
                        type: string
                      providerRevocationSupported:
                        type: boolean
                    required:
                      - id
                      - label
                      - revokedAt
                      - revocation
                      - serviceId
                      - serviceSub
                      - status
                      - connectionMethodId
                      - providerRevocationSupported
                  hiddenOrganizationCount:
                    type: integer
                    minimum: 0
                    maximum: 9007199254740991
                  totals:
                    type: object
                    properties:
                      automations:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      organizations:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                        exclusiveMinimum: 0
                      pendingDeployments:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                      projects:
                        type: integer
                        minimum: 0
                        maximum: 9007199254740991
                    required:
                      - automations
                      - organizations
                      - pendingDeployments
                      - projects
                required:
                  - accessibleOrganizations
                  - account
                  - hiddenOrganizationCount
                  - totals
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Automate.ax user session bearer token.

````