management

Mint a project key

Mint a project key for one project. The clear value is in this response and nowhere else on the API.

post/api/v1/projects/{slug}/keys

Request

  • Base URL: https://api.past.dev
  • URL: https://api.past.dev/api/v1/projects/{slug}/keys
  • 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.

Request body

namestring required

Response

The created key, with its clear value.

idstring required

The key id, used to revoke it.

namestring required
keyPrefixstring required
keySuffixstring required
createdAtstring date-time required
keystring required

The clear value. Returned in this response and nowhere else.

Changes

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