async deleteDomain(id) {
      let postBody = null;
      // verify the required parameter 'id' is set
      if (id === undefined || id === null) {
        throw new Error("Missing the required parameter 'id' when calling deleteDomain");
      }

      let pathParams = {
        'id': id
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };

      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = [];
      let returnType = null;

      return this.callApi(
        '/domains/{id}', 'DELETE',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
/**
     * Delete a domain
     * Delete a domain. This will disable any existing inboxes that use this domain.
     * @param {String} id id
     * @return {Promise}
     */
Delete a domain
Delete a domain. This will disable any existing inboxes that use this domain.
@param {String} id id
@return {Promise}
Delete a domain Delete a domain . This will disable any existing inboxes that use this domain . @param { String } id id @return { Promise }
async deleteDomain(id) {
      let postBody = null;
      if (id === undefined || id === null) {
        throw new Error("Missing the required parameter 'id' when calling deleteDomain");
      }
      let pathParams = {
        'id': id
      };
      let queryParams = {
      };
      let headerParams = {
      };
      let formParams = {
      };
      let authNames = ['API_KEY'];
      let contentTypes = [];
      let accepts = [];
      let returnType = null;
      return this.callApi(
        '/domains/{id}', 'DELETE',
        pathParams, queryParams, headerParams, formParams, postBody,
        authNames, contentTypes, accepts, returnType
      );
    }
async deleteDomain ( id ) { let postBody = null ; if ( id === undefined || id === null ) { throw new Error ( "Missing the required parameter 'id' when calling deleteDomain" ) ; } let pathParams = { 'id' : id } ; let queryParams = { } ; let headerParams = { } ; let formParams = { } ; let authNames = [ 'API_KEY' ] ; let contentTypes = [ ] ; let accepts = [ ] ; let returnType = null ; return this . callApi ( '/domains/{id}' , 'DELETE' , pathParams , queryParams , headerParams , formParams , postBody , authNames , contentTypes , accepts , returnType ) ; }
Delete a domain
 Delete a domain.
Delete a domain Delete a domain .
// verify the required parameter 'id' is set