---
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

---

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