From Bright Pattern Documentation
Jump to: navigation, search
• 5.19 • 5.2 • 5.3 • 5.8

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



< Previous | Next >
< Previous | Next >