Skip to main content
POST
/
api-keys
/
api-keys
Create Api Key
curl --request POST \
  --url https://api.dev.kathan.tech/api-keys/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "key": "<string>",
  "id": "<string>",
  "name": "<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 | null

Response

Successful Response

key
string
required
id
string
required
name
string | null
required