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
- targetstringrequiredAt most 60 characters.
- daysintegerrequiredAt least 1. At most 3650.
- enabledbooleanDefault: true.
- autobooleanDefault: false.
- targetstringrequired
Responses
- 200application/jsonSuccess
object - 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring