# environment_tier on GET /api/v4/projects/{}/dora/metrics stops working

Calls to GET /api/v4/projects/{}/dora/metrics, query parameter environment_tier on GitLab API stopped working on May 22, 2023.

- API: GitLab API (gitlab.com)
- Kind: Endpoint removal
- Announced: January 22, 2023
- Takes effect: May 22, 2023
- Calls after that day: fail
- Calls it hits: `GET /api/v4/projects/{}/dora/metrics`, `query parameter environment_tier`
- Source: [Announcement](https://gitlab.com/gitlab-org/gitlab/-/raw/master/doc/update/deprecations.md)
- Page: https://www.okapi.bot/providers/gitlab-api/breaking-changes/environment-tier-on-get-api-v4-projects-dora-metrics-stops-working/

## What to use instead

Send environment_tiers (an array) instead of environment_tier.

## GitLab API's words

> To avoid confusion and duplication, the `environment_tier` parameter is deprecated in favor of the `environment_tiers` parameter.
