Create sub-account API key. Requires a parent project API key; sub-account API keys receive HTTP 403.
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"
}
}Documentation Index
Fetch the complete documentation index at: https://docs.zavu.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Sub-account ID.
API key created. The full key is only returned once.
Show child attributes
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"
}
}