Skip to main content

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​

NameTypeInDescription
oracle_metric_idstringpathRequired. Metric provider id (24-character hex)

Headers​

NameDescription
AuthorizationRequired. 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​

StatusCodeDescription
40010000oracle_metric_id is not a valid 24-character hex id
40010001Metric provider not found or already deleted (domain 53)

See Errors for the error format and common codes.