POST
/
service_accounts
/
{clientId}
/
api_keys
curl --request POST \
  --url https://api.blaxel.ai/v0/service_accounts/{clientId}/api_keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "expires_in": "<string>",
  "name": "<string>"
}'
{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "apiKey": "<string>",
  "expires_in": "<string>",
  "id": "<string>",
  "name": "<string>",
  "sub": "<string>",
  "sub_type": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

clientId
string
required

Client ID

Body

application/json

Response

200 - application/json

successful operation

Long-lived API key for accessing Blaxel Time fields for Persistance Owner fields for Persistance