---
title: "GET /mr-api/user-data/state/{appId}/hidden-environments"
method: GET
path: "/mr-api/user-data/state/{appId}/hidden-environments"
tags: ["UserStateService"]
---

# GET /mr-api/user-data/state/{appId}/hidden-environments

`GET /mr-api/user-data/state/{appId}/hidden-environments`

Gets information on which environments are hidden for this user

## Response `200`

the current set of hidden environments

- HiddenEnvironments
  - `noneSelected` boolean — If this is set to true, then the user in fact as no selected environments
  - `environmentIds` string[]

## Other responses

- `401` — no permission to anything
- `403` — no permission to environment
- `404` — no such application
- `422` — couldn't process request, something wrong

## Changes

- **2026-07-17** `faed5fd616c3` — 1 info
  - added the optional property `noneSelected` to the response with the `200` status
- **2023-09-24** `b06e5f293bda` — 1 warning
  - removed the optional property `noneSelected` from the response with the `200` status

[Change history](https://skmtc.dev/featurehub-io/apis/managementresourceapi/changes/mr-api/user-data/state/:appId/hidden-environments/get.md)

---

[API](https://skmtc.dev/featurehub-io/apis/managementresourceapi.md) · [All operations](https://skmtc.dev/featurehub-io/apis/managementresourceapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/featurehub-io/managementresourceapi/revisions/faed5fd616c3/schema)
