From Bright Pattern Documentation
Jump to: navigation, search
 
(Updated via BpDeleteTranslateTags script)
 
Line 1: Line 1:
<translate>= Create Tenant from Template Stream Data=
+
= Create Tenant from Template Stream Data=
 
This method is similar to the other tenant creation methods ([[tenant-management-api-specification/CreateTenantfromTemplateJSONData|Create Tenant from Template JSON Data]] and [[tenant-management-api-specification/CreateTenantfromTemplateFormData|Create Tenant from Template Form Data]]) with some limitations. It creates a tenant with access URL ''&lt;tenant_url&gt;'' from posted template data. Other parameters (tenant name, SIP domain) will be generated. Administrator attributes will remain as defined in the template.
 
This method is similar to the other tenant creation methods ([[tenant-management-api-specification/CreateTenantfromTemplateJSONData|Create Tenant from Template JSON Data]] and [[tenant-management-api-specification/CreateTenantfromTemplateFormData|Create Tenant from Template Form Data]]) with some limitations. It creates a tenant with access URL ''&lt;tenant_url&gt;'' from posted template data. Other parameters (tenant name, SIP domain) will be generated. Administrator attributes will remain as defined in the template.
  
Line 40: Line 40:
  
 
<center>[[provider-api-specification/CreateTenantfromTemplateFormData|< Previous]]  |  [[provider-api-specification/CreateTrunk|Next >]]</center>
 
<center>[[provider-api-specification/CreateTenantfromTemplateFormData|< Previous]]  |  [[provider-api-specification/CreateTrunk|Next >]]</center>
</translate>
 

Latest revision as of 04:02, 29 May 2024

• 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 >