Delete all production plans

delete

/productionMonitoring/clientapi/v2/productionPlans

This operation deletes all previously imported production plans. This method supports the request header with name 'X-ORACLE-IOT-ORG', which allows targeting requests to different organizations. The value of this request header should contain the organization identifier.

Request

Header Parameters
  • This method supports the request header with name 'X-ORACLE-IOT-ORG', which allows targeting requests to different organizations. The value of this request header should contain the organization identifier.
Back to Top

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.
Back to Top

Examples




Complete cURL Example

The following example shows a complete cURL command that you can use to perform the described operation:

curl -X DELETE 
   -u <username>:<password>
   https://iotserver/productionMonitoring/clientapi/v2/productionPlans



Note that in the request, https://iotserver will be replaced by the name and port of your assigned IoT Cloud Service instance. The format of the Cloud Service instance is https://myinstance-myidentitydomain.iot.us.oraclecloud.com and the default port is 443.
Back to Top