API Tokens

Create a data API token

post/api/v1/tokens

Request

  • Base URL: https://api.esheria.ai
  • URL: https://api.esheria.ai/api/v1/tokens
  • Auth: API key in header x-api-key

Headers

idempotency-keystring required

Unique key for mutating request replay protection.

Request body

namestring required
scopesstring[] nullable
pack_entitlementsstring[]
expires_atstring date-time nullable
metadataobject

Example request

{
  "name": "Production data token",
  "pack_entitlements": [
    "UK-DATA-PROTECTION-PRIVACY"
  ]
}

Response

Successful Response

unknown required

Changes

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