putBillingTenant
PUT/api/v1/billing/tenants/:id
Creates the tenant of a workspace of the billing service, with the id the billing service gave it, as createTenant creates one: its controller shard, data key, team excubio and invited first admins, and with the entitlement given (putBillingEntitlement); without one as createTenant makes one: under evaluation delivery, without limits. A repeat for the same id and account answers the tenant as it is, 200, and changes nothing; an id of another account or of a tenant a vendor operator created is refused. Fields the cloud doesn't use are ignored. Audited in the tenant's audit and the installation's (platform_audit) with the billing service as actor.
Request
Responses
- 200
- 201
- 409
The tenant, created before
Created
request.duplicate: the slug is taken; billing.account_mismatch: the id is a tenant of another account or one a vendor operator created