Nova API — /api/metrics
The operations Nova tags public under /api/metrics. Generated from reference-src/nova-openapi.json.
DELETE /api/metrics/{id}
Operation id metric_definitions_delete: in Python client.call("metric_definitions_delete", …), on the command line stardelt api metric_definitions_delete.
DELETE /api/metrics/{id} — 204; 404 when the id is not a row.
Remove one metric definition; it was stored, never executed. Only the owner group of its table and administrators may delete it.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | integer | Yes | The metric definition's id |
Responses
| Code | Description |
|---|---|
204 | Deleted |
401 | Not signed in |
403 | Only the owner group and administrators may delete a metric definition |
404 | No such metric definition, or the id is not a number |
502 | The catalog is not reachable or did not answer |
503 | The state store is not configured |