Delete Oracle Metric
Soft-deletes a metric provider: it disappears from every read. A second delete of the same provider answers "oracle metric not found".
Required permission: oracle:delete
Request
DELETE /v2/admin/oracle-metrics/{oracle_metric_id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
oracle_metric_id | string | path | Required. Metric provider id (24-character hex) |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer <access_token> |
Example
curl --request DELETE \
--url '{{baseUrl}}/v2/admin/oracle-metrics/6911b6f1e4b0f51d2c8a7e63' \
--header 'Authorization: Bearer <access_token>'
Response
204 No Content with an empty body.
Errors
| Status | Code | Description |
|---|---|---|
| 400 | 10000 | oracle_metric_id is not a valid 24-character hex id |
| 400 | 10001 | Metric provider not found or already deleted (domain 53) |
See Errors for the error format and common codes.