Revert Metrics Policy By Version
Revert to a specific historical version of a metrics policy
Request
URI
POST
https://{api_host}/api/v2/metricspolicy/revert/{version}
COPY
Path Parameters
integer
version
Required
version
Responses
200
successful operation
Returns ResponseContainerMetricsPolicyReadModel of type(s) application/json
{
"status": {
"result": "string",
"message": "string",
"code": 0
},
"response": {
"policyRules": [
{
"accounts": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"userGroups": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"roles": [
{
"name": "string",
"id": "string",
"description": "string"
}
],
"name": "string",
"id": "string",
"description": "string",
"tagsAnded": false,
"tags": [
{
"key": "string",
"value": "string"
}
],
"prefixes": [
"string"
],
"accessType": "string"
}
],
"updatedEpochMillis": 0,
"customer": "string",
"updaterId": "string"
}
}