API Keys

Create Api Key

Create an API key.

The secret is returned once, in this response, and cannot be retrieved again — store it somewhere safe before closing the page.

post/v1/api-keys

Request

  • Base URL: https://api.fettle.sh (the document declares no server; this is the origin it was published from)
  • URL: https://api.fettle.sh/v1/api-keys
  • Auth: API key in header Authorization

Headers

X-Organization-Idstring uuid nullable

Request body

namestring required
scopesApiScope[] required
expires_atstring date-time nullable
allowed_cidrsstring[] nullable

Response

Successful Response

api_keystring required

Changes

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