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

# Get disabled environment revisions

> List disabled revisions matching any supplied environment or revision ID, without duplicates.
Omit selectors to list all disabled revisions. Repeat a query parameter to supply multiple values.
The combined limit across `environmentIds`, `revisionIds`, and `imageUrls` is 500 values,
including duplicates.

Results use ascending revision-ID order, with no total count. Increase `offset` by
`metadata.limit` until a page contains fewer revisions than that limit.
Enabling or disabling revisions between requests can shift pages.

Requires the `DisabledEnvironmentRevisions` feature flag and `DisableEnvironmentRevisions` permission.




## OpenAPI

````yaml /api-specs/cloud/public-api.json get /api/environments/v1/environments/revisions/disable
openapi: 3.0.3
info:
  title: Domino Public API
  description: Reference for Domino's public REST API endpoints.
  version: 7.0.0
  x-catalog-key: nucleus
servers:
  - url: https://mycluster.domino.tech
    description: >-
      Replace 'mycluster.domino.tech' with your Domino cluster hostname. For
      Domino Cloud customers, that is `your-subdomain`.domino.tech (e.g.,
      acme.domino.tech). For self-hosted deployments, it is the hostname you
      reach the Domino UI at.
security: []
tags:
  - name: Projects
  - name: Project templates
  - name: Workspaces
  - name: Jobs
  - name: HPC Jobs
  - name: Environments
  - name: Hardware Tiers
  - name: Datasets
  - name: Data Sources
  - name: GenAI
  - name: AI Systems
  - name: MLflow experiments and runs
  - name: MLflow models
  - name: MLflow artifacts
  - name: MLflow traces
  - name: Apps
  - name: App versions
  - name: App instances
  - name: Model APIs
  - name: Registered models
  - name: Model deployment
  - name: Extensions
  - name: Cost and billing
  - name: Users and organizations
  - name: Service accounts
  - name: Personal Access Tokens
  - name: Personal Access Tokens (admin)
  - name: Audit Trail
  - name: Custom metrics
  - name: PPM
  - name: Model Monitoring models
  - name: Model Monitoring drift and quality
  - name: Model Monitoring settings
  - name: Model Monitoring authentication
  - name: Governance bundles
  - name: Governance policies
  - name: Governance evidence and results
  - name: Governance operations
  - name: NetApp Volumes
  - name: NetApp Volumes snapshots
  - name: NetApp Volumes filesystems
  - name: NetApp Volumes transfers
  - name: Tags
  - name: Properties
externalDocs:
  description: OpenAPI
  url: https://swagger.io/resources/open-api/
paths:
  /api/environments/v1/environments/revisions/disable:
    get:
      tags:
        - Environments
      summary: Get disabled environment revisions
      description: >
        List disabled revisions matching any supplied environment or revision
        ID, without duplicates.

        Omit selectors to list all disabled revisions. Repeat a query parameter
        to supply multiple values.

        The combined limit across `environmentIds`, `revisionIds`, and
        `imageUrls` is 500 values,

        including duplicates.


        Results use ascending revision-ID order, with no total count. Increase
        `offset` by

        `metadata.limit` until a page contains fewer revisions than that limit.

        Enabling or disabling revisions between requests can shift pages.


        Requires the `DisabledEnvironmentRevisions` feature flag and
        `DisableEnvironmentRevisions` permission.
      operationId: getDisabledEnvironmentRevisions
      parameters:
        - description: >-
            Environment IDs from the environment page URL or GET
            /api/environments/beta/environments.
          explode: true
          in: query
          name: environmentIds
          required: false
          schema:
            items:
              pattern: ^[0-9a-fA-F]{24}$
              type: string
            maxItems: 500
            type: array
          style: form
        - description: >-
            Revision IDs from the revision page URL or GET
            /api/environments/v1/environments/{environmentId}.
          explode: true
          in: query
          name: revisionIds
          required: false
          schema:
            items:
              pattern: ^[0-9a-fA-F]{24}$
              type: string
            maxItems: 500
            type: array
          style: form
        - description: >-
            Reserved for full built-image references. Not supported yet; omit
            this parameter.
          explode: true
          in: query
          name: imageUrls
          required: false
          schema:
            items:
              type: string
            maxItems: 500
            type: array
          style: form
        - description: Number of revisions to skip. Defaults to 0.
          in: query
          name: offset
          required: false
          schema:
            minimum: 0
            type: integer
        - description: Maximum revisions per page, from 1 to 500. Defaults to 100.
          in: query
          name: limit
          required: false
          schema:
            maximum: 500
            minimum: 1
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/PaginatedDisabledEnvironmentRevisionEnvelopeV1
          description: One page of disabled revisions.
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      security:
        - DominoApiKey: []
        - BearerAuthentication: []
components:
  schemas:
    PaginatedDisabledEnvironmentRevisionEnvelopeV1:
      properties:
        metadata:
          $ref: '#/components/schemas/PaginatedMetadataV1'
        revisions:
          description: Disabled revisions on this page.
          items:
            $ref: '#/components/schemas/DisabledEnvironmentRevisionV1'
          maxItems: 500
          type: array
      required:
        - revisions
        - metadata
      type: object
    PaginatedMetadataV1:
      allOf:
        - $ref: '#/components/schemas/MetadataV1'
        - $ref: '#/components/schemas/PaginationV1'
      required:
        - pagination
        - requestId
        - notices
    DisabledEnvironmentRevisionV1:
      properties:
        environmentId:
          description: ID of the environment containing the disabled revision.
          type: string
        environmentName:
          description: Name of the environment containing the disabled revision.
          type: string
        revisionId:
          description: ID of the disabled revision.
          type: string
      required:
        - environmentId
        - revisionId
        - environmentName
      type: object
    ErrorV1:
      properties:
        code:
          description: Machine-readable error code.
          example: NOT_FOUND
          type: string
        message:
          description: Human-readable description of the error.
          example: The requested HPC Job could not be found.
          type: string
      required:
        - message
      type: object
    MetadataV1:
      properties:
        notices:
          description: Notices relating to the request
          items:
            type: string
          type: array
        requestId:
          type: string
      required:
        - requestId
        - notices
      type: object
    PaginationV1:
      properties:
        limit:
          description: Max number of objects returned
          type: integer
        offset:
          description: Number of object skipped forward from start of objects
          type: integer
        totalCount:
          description: Total number of available objects
          type: integer
      required:
        - offset
        - limit
      type: object
  responses:
    '400':
      content:
        application/json:
          schema:
            properties:
              error:
                type: string
            type: object
      description: Bad Request
    '401':
      content:
        application/json:
          example:
            code: UNAUTHORIZED
            message: Authentication is required to access this resource.
          schema:
            $ref: '#/components/schemas/ErrorV1'
      description: Unauthorized - authentication is required or has failed.
    '403':
      content:
        application/json:
          example:
            code: FORBIDDEN
            message: You do not have permission to perform this action.
          schema:
            $ref: '#/components/schemas/ErrorV1'
      description: Forbidden - the caller lacks permission to perform this action.
    '500':
      content:
        application/json:
          schema:
            properties:
              error:
                type: string
            type: object
      description: Internal Server Error
  securitySchemes:
    DominoApiKey:
      type: apiKey
      in: header
      name: X-Domino-Api-Key
    BearerAuthentication:
      type: apiKey
      name: Authorization
      in: header

````

## Related topics

- [Get an environment](https://docs.domino.ai/api-reference/environments/get-an-environment.md)
- [Get Environments visible to a user](https://docs.domino.ai/api-reference/environments/get-environments-visible-to-a-user.md)
- [Validate environment revisions for execution](https://docs.domino.ai/api-reference/environments/validate-environment-revisions-for-execution.md)
- [Disable all revisions of an environment](https://docs.domino.ai/api-reference/environments/disable-all-revisions-of-an-environment.md)
