From Bright Pattern Documentation
imported>Tracy |
(Updated via BpDeleteTranslateTags script) |
||
Line 1: | Line 1: | ||
− | + | = 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 ''<tenant_url>'' 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 ''<tenant_url>'' 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> | ||
− |
Latest revision as of 04:09, 29 May 2024
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 |