Rivier/ Reference/ inbox

Change how long the desk keeps them (owner or manager)

put/workspace/inbox/retention

Before you call

Credential
Authorization: Bearer $KEY
Scope
inbox:write
Graphql
Mutation.inboxRetentionSet
Sdk
inbox.retention.set
Cli
inbox retention set

Request bodyapplication/json, required

  • trashDaysinteger
    At least 1. At most 3650.
  • junkDaysinteger
    At least 1. At most 3650.
  • heldDaysinteger
    At least 1. At most 3650.
  • closedDaysinteger or null

Responses

  • 200application/json
    Success
    • 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