# GET /v1/teams/{}/incidents/secrets is deprecated

GitGuardian API deprecated GET /v1/teams/{}/incidents/secrets without giving a shutdown date yet.

- API: GitGuardian API (api.gitguardian.com)
- Kind: Endpoint removal
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `GET /v1/teams/{}/incidents/secrets`
- Source: [Announcement](https://api.gitguardian.com/docs)
- Page: https://www.okapi.bot/providers/gitguardian-api/breaking-changes/get-v1-teams-incidents-secrets-is-deprecated/

## What to use instead

Call GET /v1/teams/{team_id}/secret-incidents.

## GitGuardian API's words

> List secret incidents of a particular team. Occurrences are not returned in this route. DEPRECATED: THis endpoint has been replaced by /v1/teams/{team_id}/secret-incidents
