cURL
curl --request POST \ --url http://localhost:3000/v2/TenantCreate \ --header 'Content-Type: application/json' \ --header 'X-Bunker-Token: <api-key>' \ --data ' { "tenantname": "<string>", "tenantorg": "<string>", "email": "<string>", "request_metadata": {} } '
{ "status": "ok", "tenantid": 123, "xtoken": "<string>" }
Creates a new tenant for multi-tenant setups
Documentation IndexFetch the complete documentation index at: https://docs.databunker.org/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.databunker.org/llms.txt
Use this file to discover all available pages before exploring further.
API token for authentication
Name of the tenant
Organization name
Email address for tenant contact
Additional metadata for the request
Tenant created successfully
"ok"
ID of the created tenant
Access token for the tenant