Skip to main content
POST
Créer une nouvelle clé API pour l’utilisateur courant

Autorisations

Authorization
string
header
requis

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

Corps

application/json
name
string
requis

Human-readable label for the API key.

Maximum string length: 64
Exemple:

"CI pipeline"

expiresAt
object | null

Optional ISO 8601 expiration date. Omit (or null) for a key that never expires.

Exemple:

"2026-08-19T12:00:00.000Z"

permissions
string
défaut:read

Scope of the key: 'read' (GET only) or 'read-write' (all methods).

Exemple:

"read"

Réponse

201 - undefined