api-keys
api-keys

Create Api Key

Create a new API key.

The full API key is only returned once in this response. Store it securely - you won't be able to retrieve it again.

Requires sufficient permissions based on your subscription tier.

post/api/v1/api-keys

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/api-keys
  • Auth: none declared

Headers

Authorizationstring

Request body

namestring required

Human-readable name for the key

scopestring

Permission scope: read-only, read-write, or admin

Example request

{
  "name": "Airflow Production",
  "scope": "read-only"
}

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

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