def deleteDraftThingType(self, thingTypeId):
        """
        Deletes a Thing type.
        It accepts thingTypeId (string) as the parameter
        In case of failure it throws APIException
        """
        draftThingTypeUrl = ApiClient.draftThingTypeUrl % (self.host, thingTypeId)

        r = requests.delete(draftThingTypeUrl, auth=self.credentials, verify=self.verify)
        status = r.status_code
        if status == 204:
            self.logger.debug("Device type was successfully deleted")
            return True
        elif status == 401:
            raise ibmiotf.APIException(401, "The authentication token is empty or invalid", None)
        elif status == 403:
            raise ibmiotf.APIException(403, "The authentication method is invalid or the api key used does not exist", None)
        elif status == 404:
            raise ibmiotf.APIException(404, "A thing type with the specified id does not exist.", None)
        elif status == 409:
            raise ibmiotf.APIException(409, "The draft thing type with the specified id is currently being referenced by another object.", None)
        elif status == 500:
            raise ibmiotf.APIException(500, "Unexpected error", None)
        else:
            raise ibmiotf.APIException(None, "Unexpected error", None)
Deletes a Thing type.
        It accepts thingTypeId (string) as the parameter
        In case of failure it throws APIException