Internal Secret Incidents

Revoke access to a secret incident

Revoke access of a user, an existing invitee or a team to a secret incident.

DEPRECATED: This endpoint has been replaced by this one for members, this one for teams, and this one for invitations.

post/v1/incidents/secrets/{incident_id}/revoke_access

Request

  • Base URL
    https://api.gitguardian.com
  • URL
    https://api.gitguardian.com/v1/incidents/secrets/{incident_id}/revoke_access
  • Auth
    HTTP bearer

Path parameters

incident_idinteger required

The id of the incident to retrieve

Request body

emailstring

Email address of a user or invitee. This parameter is mutually exclusive with member_id, invitation_id and team_id.

member_idnumber

Id of a member. This parameter is mutually exclusive with email, invitation_id and team_id.

invitation_idnumber

Id of an invitation. This parameter is mutually exclusive with email, member_id and team_id.

team_idnumber

Id of a team, except for the global team. This parameter is mutually exclusive with email, member_id and invitation_id.

Example request

{
  "member_id": 1492
}

Response

The access was revoked successfully.

Changes

No recorded changes to this operation across all 35 revisions of this API.