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

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

GitGuardian API deprecated the GET /v1/incidents/secrets/{id}/teams endpoint without a shutdown date. Subsequent calls to this endpoint fail. This change affects requests targeted at retrieving teams associated with secret incidents.

## What to use instead

Call GET /v1/secret-incidents/{incident_id}/teams instead.

- 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/incidents/secrets/{id}/teams`
- Source: [Announcement](https://api.gitguardian.com/docs)
- Verified: November 6, 2026, against GitGuardian API's own pages
- Page: https://www.okapi.bot/providers/gitguardian-api/breaking-changes/get-v1-incidents-secrets-teams-is-deprecated/

## GitGuardian API's words

> DEPRECATED: This endpoint has been replaced by /v1/secret-incidents/{incident_id}/teams

Okapi finds the calls this change hits in your repo and opens the pull request with the fix: https://github.com/apps/okapi-agent
