cURL
curl --request POST \ --url https://app.apigene.ai/api/tenant/add_account \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "account_id": "<string>", "admin_email": "[email protected]", "admin_name": "<string>", "admin_password": "<string>" } '
{ "message": "<string>", "account_org_token": "<string>" }
Add a new account (org) to an existing tenant. Requires a valid tenant_org_token as a Bearer token in the Authorization header.
JWT Authorization header using the Bearer scheme. Example: 'Authorization: Bearer {token}'
Successful Response