Endpoint
Content-Type:
application/json
The full API key is only returned once at creation time. Store it securely — it cannot be retrieved again.
Body parameters
A human-readable label to identify this key.
production · staging · ci-deployExpiration time in seconds from now. Defaults to 365 days (31536000).
86400 (1 day) · 2592000 (30 days) · 31536000 (1 year)Response
Whether the key was created.
200 success · 401 unauthorized · 500 error
Example
Related
List API Keys
View all active keys.
Delete API Key
Revoke a key.