Create API key
POST/v1/api-keys/create/
Create a named API key. The raw key is returned only once, in this response; store it securely.
Body
Sent as application/json.
namestringRequiredUnique name for the key (per user).
expires_in_daysintegerDays until the key expires. Omit for a key that does not expire.
Returns
201 with a JSON object.
Show response attributesHide response attributes
namestringRequireduidstring or nullRequiredcreate_timestring or nullRequiredupdate_timestring or nullRequireddelete_timestring or nullRequireddetailstringRequiredapi_key_idstringRequiredkey_namestringRequiredactivebooleanRequiredexpires_atstring or nullRequiredraw_keystringRequired
Errors
Every error has the same JSON body. See Errors for the error codes and when to retry.
400Bad Request401Unauthorized403Forbidden404Not Found409Conflict410Gone413Request Entity Too Large422Unprocessable Entity429Too Many Requests500Internal Server Error