Delete Application by ID
delete
/iot/api/v2/apps/{app-id}
Delete application by given application ID. Along with application, all application sub-resources will also be cleaned up. This API is deprecated and may be removed in a future release.
Request
Path Parameters
-
app-id: string
ID of the application to be deleted
Response
204 Response
Successfully processed.
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 application by id 1bf92a6056b5-2ad8
of the IoT Cloud Service instance 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 -X DELETE -k -H 'Accept: application/json' -u 'username@example.com:password' http://iotserver/iot/api/v2/apps/1bf92a6056b5-2ad8
Example of Response Header
The following shows an example of the response header. There is no body content.
HTTP/1.1 204 OK Content-Type: No Content