Administration
Update tenant billing plan
Update the billing plan for a tenant.
Note: If tenant name is not specified, the tenant invoking the API is used to update billing plan.
post/_api/plan/update
Request
- The document declares no server URL.
- Auth
- API key in header Authorization
- or HTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"attribution": "Macrometa",
"plan": "Enterprise",
"tenant": "joe",
"payment_method_id": "pm_1KRHKj2eZvKYlo2CHkt3rab6"
}Response
Successfully updated billing plan.
Example response
{
"code": 200,
"result": {
"attribution": "Macrometa",
"plan": "Enterprise",
"features": [
{
"KV": true
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.