Metric
Delete a metric
Delete a metric. The metric is no longer modifiable or manually evaluable, but remains stored, and existing services or simulations that evaluate this metric will continue to do so. One can still retrieve it using its ID to view its specifics.
Permissions
This endpoint requires the following permissions:
- Metric:DeleteMetric for the metric to delete.
delete/v1/{organization}/metric/{metric_id}/
Path parameters
organizationstring required
metric_idstring required
The ID of the metric to update.
The ID of the metric to update.
Headers
x-mongo-cluster-namestring nullable
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database.
Sec-WebSocket-Protocolstring[]
Response
Succeeded.
{"stackTrail":"paths:/v1/{organization}/metric/{metric_id}/:delete:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}