Old path of createProjectKey
POST
Deprecated/apps/{slug}/keys- Base URL
https://api.chartnaut.com/v1- Auth
- Bearer key
- Operation ID
createAppKey
The same operation as /projects/{slug}/keys, kept working permanently for clients built before the rename (the CLI through 0.5.0 and @chartnaut/create-app still call it). Use /projects/{slug}/keys.
Path parameters#
slugstringRequiredRequest bodyapplication/json#
object
namestringenvstringResponses#
201Createdapplication/json
The key; the secret is shown once.
object · ProjectKeyCreated
keyobjectShow fields
idstringenvstringnamestringsecretstringShown once. Store it as CHARTNAUT_SECRET_KEY.
ErrorAny other statusapplication/json
Error.
object · Error
errorobjectRequiredShow fields
codestringRequiredStable. Branch on this, never on message.
messagestringRequireddetailsobjectdocs_urlstring (uri)request_idstring