Retention

Create Retention Policy

Create Retention Policy, you can reference metadatas API for the policy model. You can check project metadatas to find whether a retention policy is already binded. This method should only be called when no retention policy binded to project yet.

post/retentions

Request

  • Base URL
    http://localhost/api/v2.0
  • Auth
    • HTTP basic
    • or none

Headers

X-Request-Idstring

An unique ID for the request

Request body

idinteger
algorithmstring

Response

Created

Changes

No recorded changes to this operation across all 1 revision of this API.