Rivier/ Reference/ compliance

A job in another module records a retention run it did

post/compliance/center/evidence/retention-runs

Before you call

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

Request bodyapplication/json, required

  • targetstringrequired
    At most 60 characters.
  • daysintegerrequired
    At least 1. At most 3650.
  • matchedintegerrequired
    At least 0.
  • deletedintegerrequired
    At least 0.
  • oldestRemainingstring or null
    Default: null.
  • atstring (date-time)
  • statusstring
    One of: ok, failed, skipped. Default: ok.
  • notestring
    Default: . At most 300 characters.

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