Tenants
Update current tenant
Changed onUpdate tenant profile fields such as company name, webhook URL, or custom settings.
patch/api/tenants/me
Request
- Base URLhttps://api.novabilling.one
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "Updated Company Name",
"email": "billing@company.com",
"webhookUrl": "https://example.com/webhooks"
}Response
Tenant profile updated
Example response
{
"id": "clx1234567890",
"name": "Acme Corp",
"slug": "acme-corp",
"email": "john@company.com",
"apiKey": "sk_live_abc123...",
"webhookUrl": "https://example.com/webhooks",
"webhookSecret": "whsec_abc123...",
"isActive": true
}Changes
- info
added the new optional request property
- info
added the media type
application/jsonfor the response with the status
- info