latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

Internal Secret Incidents

List teams having access to a secret incident

List all the teams having access to a secret incident.

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

get/v1/incidents/secrets/{incident_id}/teams

Path parameters

incident_idinteger required

The id of the incident to retrieve

Query parameters

cursorstring

Pagination cursor.

team_idnumber

filter on a specific team id.

Example:1234
incident_permission'can_view' | 'can_edit' | 'full_access'
Example:can_view

Response

List of team accesses

team_idinteger

The id of the Team object

incident_idinteger

The id of the Incident object

incident_permission'can_view' | 'can_edit' | 'full_access'

Example response

[
  {
    "team_id": 3252,
    "incident_id": 3252,
    "incident_permission": "can_edit"
  }
]