management

Revoke a project key

Revoke one project key by the id returned when it was created. The key stops working on its next call. Returns no body.

delete/api/v1/projects/{slug}/keys/{keyId}

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/projects/{slug}/keys/{keyId}
  • Auth: HTTP bearer

Path parameters

slugstring required

The slug: 2 to 40 lowercase letters, digits and dashes, with a letter or digit at each end.

keyIdstring required

The id returned when the key was created.

Response

The key was revoked. No response body.

Changes

No recorded changes to this operation across all 1 revision of this API.