Updating type definition with one or more new policies
POST {{baseUrl}}/type-definitions/:typeName/policies
Adding type definition with one or more new policies.
Request Body
{"retention_policy_ids"=>["9f159096-9a07-11ea-bb37-0242ac130003", "9f159096-9a07-11ea-bb37-0242ac130001"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"retention_policy_ids":[{"policy_id":"5114d93c-4e36-8826-bfbf-23d72ddd62cd","delay_hours":-55088083},{"policy_id":"9c903680-e0fb-e9ab-7fdb-17782ca87c90","delay_hours":20885387}],"_links":{"self":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"parent":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}},"urn:eim:linkrel:delete":{"href":{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}}}}