Secrets

Remove the validity override of a secret

Remove the customer-provided validity override of a secret. GitGuardian resumes its periodic validity checks and a fresh check is triggered to recompute the real validity asynchronously.

Access requires the token to see at least one incident linked to the secret, private or public.

Prerequisites:

  • A valid API key with the secrets:write scope. Both personal access tokens and service account tokens are accepted.
delete/v1/secrets/{secret_id}/validity

Request

  • Base URL
    https://api.gitguardian.com
  • URL
    https://api.gitguardian.com/v1/secrets/{secret_id}/validity
  • Auth
    HTTP bearer

Path parameters

secret_idinteger required

The ID of the secret to update

Response

The validity override was removed.

Changes

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