sdks/js/http_client/v1/src/api/OrganizationsV1Api.js
/**
     * Delete organization
     * @param {String} owner Owner of the namespace
     * @param {Object} opts Optional parameters
     * @param {String} opts.usage Owner usage query param.
     * @param {module:api/OrganizationsV1Api~deleteOrganizationCallback} callback The callback function, accepting three arguments: error, data, response
     */
Delete organization
@param {String} owner Owner of the namespace
@param {Object} opts Optional parameters
@param {String} opts.usage Owner usage query param.
@param {module:api/OrganizationsV1Api~deleteOrganizationCallback} callback The callback function, accepting three arguments: error, data, response
Delete organization @param { String } owner Owner of the namespace @param { Object } opts Optional parameters @param { String } opts . usage Owner usage query param . @param { module : api / OrganizationsV1Api~deleteOrganizationCallback } callback The callback function accepting three arguments : error data response
deleteOrganization(owner, opts, callback) {
      opts = opts || {};
      let postBody = null;
      if (owner === undefined || owner === null) {
        throw new Error("Missing the required parameter 'owner' when calling deleteOrganization");
      }
      let pathParams = {
        'owner': owner
      };
      let queryParams = {
        'usage': opts['usage']
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['ApiKey'];
      let contentTypes = [];
      let accepts = ['application/json'];
      let returnType = null;
      return this.apiClient.callApi(
        '/api/v1/orgs/{owner}', 'DELETE',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType, null, callback
      );
    }
deleteOrganization ( owner , opts , callback ) { opts = opts || { } ; let postBody = null ; if ( owner === undefined || owner === null ) { throw new Error ( "Missing the required parameter 'owner' when calling deleteOrganization" ) ; } let pathParams = { 'owner' : owner } ; let queryParams = { 'usage' : opts [ 'usage' ] } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'ApiKey' ] ; let contentTypes = [ ] ; let accepts = [ 'application/json' ] ; let returnType = null ; return this . apiClient . callApi ( '/api/v1/orgs/{owner}' , 'DELETE' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType , null , callback ) ; }
Delete organization
 @param {String} owner Owner of the namespace
 @param {Object} opts Optional parameters
 @param {String} opts.usage Owner usage query param.
Delete organization @param { String } owner Owner of the namespace @param { Object } opts Optional parameters @param { String } opts . usage Owner usage query param .
// verify the required parameter 'owner' is set