---
title: "Get All Environments"
method: GET
path: "/apiops/environments/"
tags: ["Environment"]
---

# Get All Environments

`GET /apiops/environments/`

## Request

- Base URL: `http://167.86.118.166:32080`
- URL: `http://167.86.118.166:32080/apiops/environments/`
- Auth: none declared
- TypeScript: <https://skmtc.dev/apinizer/apis/apinizer-management-apis/docs/apiops/environments/get.ts> (a function with typed inputs; its response is checked against the schema)

Get All Environments. Only users which have admin role can use this method.

## Response `200`

successful operation!

- ApiOpsResponseEnvironment
  - `status` 'SUCCESS' | 'FAILURE'
  - `resultMessage` string
  - `resultList` EnvironmentDTO[]
    - `id` string
    - `name` string
    - `description` string
    - `type` 'PRODUCTION' | 'SANDBOX' | 'TEST'
    - `status` 'UNPUBLISHED' | 'PUBLISHED' | 'REPUBLISH_REQUIRED'
    - `accessUrl` string
    - `deployed` boolean
    - `redeployRequired` boolean
  - `resultCount` integer

## Other responses

- `401`: not authorized for this operation!
- `500`: internal error!

---

[API](https://skmtc.dev/apinizer/apis/apinizer-management-apis.md) - [All operations](https://skmtc.dev/apinizer/apis/apinizer-management-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/apinizer/apis/apinizer-management-apis/revisions/e083046b24cd?raw)
