API / Api Keys

POST

/api-keys

Create an API key

Authentification : clé API Bearer requise.

Corps JSON

API key to create

NomTypeDescription
namestring

Exemple curl

curl -X POST https://api.sporee.fr/api-keys \
  -H "Authorization: Bearer $SPORE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

Réponses

StatutDescriptionType
201Createdapikeys.CreatedKey
400Bad Requestecho.HTTPError
401Unauthorizedecho.HTTPError

Source machine : openapi.json · opération createApiKey