Okapi Okapi

GitGuardian API POST /v1/incidents/secrets/{id}/revoke_access endpoint removal

Deprecated, no dateSubscribe to GitGuardian APIShare

GitGuardian has deprecated the POST /v1/incidents/secrets/{id}/revoke_access endpoint without announcing a shutdown date. This call was previously used to revoke access of a user, invitee, or team to a secret incident. Calls to this endpoint will fail once it is shut down.


Calls it hits

  • POST /v1/incidents/secrets/{id}/revoke_access

What to use instead of these calls

Revoke access using DELETE /v1/members/{member_id}/{resource_type}/{resource_id}, DELETE /v1/teams/{team_id}/{resource_type}/{resource_id}, or DELETE /v1/invitations/{invitation_id}/{resource_type}/{resource_id}, passing the incident as the resource.

In GitGuardian API's words

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.

GitGuardian API, Announcement

Facts

API
GitGuardian API api.gitguardian.com
Kind
Endpoint removal
Takes effect
No date given yet
Calls after that day
Fail
Source
Announcement
Last updated
Verified
, against GitGuardian API's own pages

Questions

When does this change take effect?

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

Do these calls still work?

Yes, they still work: GitGuardian API has not given a shutdown date yet.

How do I find the calls this hits in my code?

Okapi reads your repository, finds the calls this change hits and opens a pull request with the fix. It never commits to your branches: every change comes as a pull request you review.


More from GitGuardian API 5

  1. No date GET /v1/incidents/secrets/{id}/invitationsEndpoint removal Deprecated, no date
  2. No date GET /v1/incidents/secrets/{id}/membersEndpoint removal Deprecated, no date
  3. No date GET /v1/incidents/secrets/{id}/teamsEndpoint removal Deprecated, no date
  4. No date GET /v1/teams/{id}/incidents/secretsEndpoint removal Deprecated, no date
  5. No date POST /v1/incidents/secrets/{id}/grant_accessEndpoint removal Deprecated, no date

Is your code calling this?

Okapi finds the calls this change hits in your repo and opens the pull request with the fix.

Add to GitHub

Get notifications

Subscribe to GitGuardian API

Hear about each breaking change GitGuardian API announces, in your feed reader, calendar or Slack.

1What to follow

Provider
  • GitGuardian API

2Where to get it

/breaking-changes/feed.xml

Paste it into Feedly, Inoreader, NetNewsWire or any reader. New changes show up as they're announced.