Delete the Exploration Source
delete
/iot/api/v2/apps/{app-id}/explorationSources/{explorationsource-id}
specified by the given Exploration Source id. The API is deprecated and may be removed in a future release.
Request
Path Parameters
-
app-id: string
A unique identifier for the IoT Application
-
explorationsource-id: string
A unique identifier for the Exploration Source
Response
204 Response
Successfully processed.
400 Response
Bad Request. The request could not be understood by the server due to malformed syntax. The client SHOULD NOT repeat the request without modifications.
401 Response
Unauthorized. The request requires user authentication.
403 Response
Forbidden. The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated.
404 Response
Not Found. The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.
Examples
The following example shows how to delete an
Exploration Sources
instance by endpoint Id by submitting a DELETE request on the REST resource using cURL. For more information about cURL, see
Use cURL.
Note:
In the request,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-AM/explorationSources/0-BQ"
Example of Response Header
The following example shows the contents of the response to the deletion of theexplorationSources
instance in JSON format. Note, there is no body returned in this case.
HTTP/1.1 204 No Content