From Bright Pattern Documentation
<translate>= Create Tenant from Template Stream Data= This method is similar to the other tenant creation methods (Create Tenant from Template JSON Data and Create Tenant from Template Form Data) with some limitations. It creates a tenant with access URL <tenant_url> from posted template data. Other parameters (tenant name, SIP domain) will be generated. Administrator attributes will remain as defined in the template.
Request
URL | http[s]://<host>:<port>/configapi/v2/tenant/<tenant_url>
or http[s]://<host>:<port>/configapi/v2/tenant/<tenant_url>?lockTimeout |
Method | PUT |
Body | Tenant data in a ZIP archive file (content type: application/ZIP) |
Response
Code | Description |
200 | Tenant imported |
409 | Tenant already exists |
503 | Lock timeout |
</translate>