f0f28319e448
Create a new version for a metric
Create a new version for the given metric.
Permissions:
This endpoint requires the following permissions:
- Metric:ModifyMetric for the metric to create a new version for.
Path parameters
The ID of the metric to create a new version for.
The ID of the metric to create a new version for.
Query parameters
The version number of the new metric version. If specified, this endpoint throws an error if the next version of the metric in the database doesn't equal to the value of this parameter.
The version number of the new metric version. If specified, this endpoint throws an error if the next version of the metric in the database doesn't equal to the value of this parameter.
Headers
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.
Request body
Response
Succeeded.