Delete the Message Format Locally (from IoT database only)
delete
/iot/api/v2/apps/{app-id}/explorations/{explorationID}/{urn}
Delete the message format, associated with an exploration.
The API is deprecated and may be removed in a future release.
Request
Path Parameters
-
app-id: string
ID of application to be retrieved from Cloud Service
-
explorationID: string
Exploration id
-
urn: string
Message format URN
Query Parameters
-
force(optional): boolean
Deleting a message format is a potentially hazardous operation. Integrations or analytic explorations may depend on this message format. By passing this query parameter, the caller acknowledges their willingness to proceed.
Response
204 Response
Successfully processed.
Examples
The following example shows how to shows how to delete the message format associated with an exploration of an application from the IoT database only by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see
Use cURL.
Note:
In the request and response,iotserver
will be replaced by name and port of your assigned Oracle IoT Cloud Service instance. The format of the Cloud Service instance is
myinstance-myidentitydomain.iot.us.oraclecloud.com
and the default port is
443
curl -i -X DELETE -H 'Content-Type: application/json' -H 'Authorization:Basic aW90OndlbGNvbWUx' "http://iotserver:7101/iot/api/v2/apps/0-AI/explorations/53/urn:oracle:iot:exploration:YIExploration1?force"
Example of Response Header
The following example shows the contents of the response header as a result of this request. There is no body returned in this case.
HTTP/1.1 204 No Content