From Bright Pattern Documentation
Jump to: navigation, search
imported>Tracy
 
(Updated via BpDeleteTranslateTags script)
 
Line 1: Line 1:
<translate>= Delete Tenant=
+
= Delete Tenant=
 
By default, this method deletes an inactive tenant and associated access numbers. To keep tenant access numbers disassociated from the deleted tenant, use the additional query parameter ''keepAccessNumbers=true''.
 
By default, this method deletes an inactive tenant and associated access numbers. To keep tenant access numbers disassociated from the deleted tenant, use the additional query parameter ''keepAccessNumbers=true''.
  
Line 41: Line 41:
  
 
<center>[[provider-api-specification/ExportTenant|< Previous]]  |  [[provider-api-specification/ImportTenant|Next >]]</center>
 
<center>[[provider-api-specification/ExportTenant|< Previous]]  |  [[provider-api-specification/ImportTenant|Next >]]</center>
</translate>
 

Latest revision as of 04:09, 29 May 2024

• 5.19 • 5.2 • 5.3 • 5.8

Delete Tenant

By default, this method deletes an inactive tenant and associated access numbers. To keep tenant access numbers disassociated from the deleted tenant, use the additional query parameter keepAccessNumbers=true.

Note that the tenant must be inactive. If it is not, you will get the 400 response indicating that the tenant is still active.


Request

URL http[s]://<host>:<port>/configapi/v2/tenant/<tenant_url>

(to delete the tenant with associated access numbers)

or

http[s]://<host>:<port>/configapi/v2/tenant/<tenant_url>?keepAccessNumbers=true

(to delete the tenant but keep the associated access numbers)

Method DELETE


Response

Code Description
200 Tenant deleted
404 Tenant not found
400 Tenant is active



< Previous | Next >
< Previous | Next >