← All tags

Credentials API Reference

Revoke compromised or leaked GitHub credentials.

1 endpoints tagged credentials, each listing its parameters and possible responses. Search or scroll the index below to jump to a specific endpoint.

No endpoints match your search.

Revoke a list of credentials

POST /credentials/revoke

Submit a list of credentials to be revoked. This endpoint is intended to revoke credentials the caller does not own and may have found exposed on GitHub.com or elsewhere. It can also be used for credentials associated with an old user account that you no longer have access to. Credential owners will be notified of the revocation.

Parameters

No parameters.

Responses

StatusDescriptionHas JSON body
202Acceptedyes
422Validation failed, or the endpoint has been spammed.yes
500Internal Erroryes