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
- trashDaysintegerAt least 1. At most 3650.
- junkDaysintegerAt least 1. At most 3650.
- heldDaysintegerAt least 1. At most 3650.
- closedDaysinteger or null
Responses
- 200application/jsonSuccess
- 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