Skip to Content
OpenPerf

Environments

Set hidden environments

PUT
/api/v1/environments/hidden

Replaces the list of environments that are hidden from the Environment filter of the dashboard. Needs a token that can write.

Authorization

headerAuthorizationBearer <opaque>

Organization API token (opt_…)

Request Body

application/json
  1. body
values*array<>
Itemsitems <= 100

Response Body

application/json
  1. response
hidden*array<string>
Example Request
curl -X PUT 'https://api.example.com/api/v1/environments/hidden' \
  -H 'Authorization: Bearer <token>' \
  -H 'Content-Type: application/json' \
  -d '{
  "values": [
    "string"
  ]
}'
Example Response
{
  "hidden": [
    "string"
  ]
}