Rivier/ Reference/ compliance

Set how long each kind of data is kept. A person with the manager role

put/compliance/center/retention

Before you call

Credential
Authorization: Bearer $KEY
Scope
compliance:write
Sdk
compliance.retention.set
Cli
compliance retention set

Request bodyapplication/json, required

  • policieslist of objectrequired
    • targetstringrequired
      At most 60 characters.
    • daysintegerrequired
      At least 1. At most 3650.
    • enabledboolean
      Default: true.
    • autoboolean
      Default: false.

Responses

  • 200application/json
    Success

    object

  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown