Delete a Metric Threshold
delete
/monitoring/monitoring/{idDomainName}/.customer/api/v1/metricThresholds/{thresholdId}
Request
Supported Media Types
- application/json
Path Parameters
-
idDomainName: string
Identity domain ID for the Oracle Monitoring Cloud Service account.
-
thresholdId: string
ID of the Threshold object.
Header Parameters
-
Authorization: string
Basic Authentication credentials. The user must be located in the identity domain name specified by the header X-ID-TENANT-NAME.
-
X-ID-TENANT-NAME: string
Set to the identity domain ID where the user specified in the Authorization header resides.
Response
204 Response
successful operation
Examples
The following example shows how to delete a metric threshold by submitting a DELETE request on the REST resource using cURL. See Use cURL.
curl -X DELETE -H "Authorization: Basic d2VibG9naWM6V2VsY29tZTE=" -H "X-ID-TENANT-NAME:mydomain" -H "Content-Type:application/json" https://monitoring.us.oraclecloud.com/monitoring/mydomain/.customer/api/v1/metricThresholds/bb816e78-3359-4d1e-91e7-c0d45316ad0f
Example of Response Header
The following shows an example of the response header.
HTTP/1.1 200 OK Date: Tue, 08 Mar 2016 12:20:49 GMT Content-Type: application/json