Skip to main content
POST
/
api
/
auth
/
api-keys
Create Api Key
curl --request POST \
  --url http://localhost:8080/api/auth/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "key": "<string>",
  "created_at": "<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

Response

Successful Response

id
string
required
name
string
required
key
string
required
created_at
string
required