Skip to main content
POST
/
apikeys
Create API key
curl --request POST \
  --url https://app.azalt.co/api/v1/apikeys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "createdAt": "<string>",
  "apiKey": "<string>"
}

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required
Minimum string length: 1

Response

Successful response

id
string
required
name
string
required
createdAt
string
required
apiKey
string
required