Skip to main content
Infrastructure/Metrics Catalog
POSTInfrastructureSince 1.0SynchronousAuth Required

CreatePolicy

Create a new data retention policy for metrics storage.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

Body Fields

  • policyObjectRequired

    Policy for this resource

    Example: (nested object)

Responses

200 OK

On success, this API returns the following response structure.

  • dataObject

    The data value

    Example: (nested object)

Endpoint

POST/api/v1/metrics/retention-policies

/api/v1/metrics/retention-policies

Operation ID

CreatePolicy

Permalink

Request Example

curl -X POST '{host}/api/v1/metrics/retention-policies' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"policy":"(nested object)"}'

Response Example

200
{
  "data": null
}

Change History

This API has no change history records yet.

View all change history