tmp/src/things/things.py
def deleteSchema(self, schemaId):
        """
        Delete a schema.  Parameter: schemaId (string). Throws APIException on failure.
        """
        req = ApiClient.oneSchemaUrl % (self.host, "/draft", schemaId)
        resp = requests.delete(req, auth=self.credentials, verify=self.verify)
        if resp.status_code == 204:
            self.logger.debug("Schema deleted")
        else:
            raise ibmiotf.APIException(resp.status_code, "HTTP error deleting schema", resp)
        return resp
def deleteSchema(self, schemaId):
        """
        Delete a schema.  Parameter: schemaId (string). Throws APIException on failure.
        """
        req = ApiClient.oneSchemaUrl % (self.host, "/draft", schemaId)
        resp = requests.delete(req, auth=self.credentials, verify=self.verify)
        if resp.status_code == 204:
            self.logger.debug("Schema deleted")
        else:
            raise ibmiotf.APIException(resp.status_code, "HTTP error deleting schema", resp)
        return resp
def deleteSchema ( self , schemaId ) : req = ApiClient . oneSchemaUrl % ( self . host , "/draft" , schemaId ) resp = requests . delete ( req , auth = self . credentials , verify = self . verify ) if resp . status_code == 204 : self . logger . debug ( "Schema deleted" ) else : raise ibmiotf . APIException ( resp . status_code , "HTTP error deleting schema" , resp ) return resp
Delete a schema.  Parameter: schemaId (string). Throws APIException on failure.
Delete a schema . Parameter : schemaId ( string ) . Throws APIException on failure .