Sub-Accounts
Create sub-account
Changed onCreate a new sub-account (project) with its own API key. All charges are billed to the parent team's balance. Use creditLimit to set a spending cap. The sub-account's API key is returned only in the creation response. Requires a parent project API key; sub-account API keys receive HTTP 403.
post/v1/sub-accounts
Request
- Base URLhttps://api.zavu.dev
- URLhttps://api.zavu.dev/v1/sub-accounts
- AuthHTTP bearer
Request body
Example request
{
"name": "Client ABC"
}Response
Sub-account created.
Example response
{
"subAccount": {
"name": "Client ABC"
}
}Changes
- info
added the non-success response with the status
- info
- info
endpoint added
- info