Skip to main content
POST
/
v1
/
api-keys
Créer une clé API (valeur en clair renvoyée une seule fois)
curl --request POST \
  --url https://api.plugkit.co/v1/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "production-server"
}
'

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
Example:

"production-server"

Response

201 - undefined