deleteTenant method

Future<ClientResponse<void, Errors>> deleteTenant(
  1. String tenantId
)

Deletes the tenant based on the given Id on the URL. This permanently deletes all information, metrics, reports and data associated with the tenant and everything under the tenant (applications, users, etc).

@param {String} tenantId The Id of the tenant to delete. @returns {Promise<ClientResponse

Implementation

Future<ClientResponse<void, Errors>> deleteTenant(String tenantId) {
  return _start<void, Errors>()
      .withUri('/api/tenant')
      .withUriSegment(tenantId)
      .withMethod('DELETE')
      .go();
}