cURL
curl --request POST \ --url https://api.zavu.dev/v1/sub-accounts/{id}/api-keys \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "Production Key", "environment": "live" } '
{ "apiKey": { "id": "<string>", "key": "<string>", "name": "<string>", "environment": "live" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Sub-account ID.
live
test
API key created. The full key is only returned once.
Show child attributes