Skip to main content
PUT
/
api
/
system
/
retention-days
cURL
curl --request PUT \
  --url https://api.production.hyperoru.com/api/system/retention-days \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "days": 123,
  "exchange": "<string>"
}
'
{
  "days": 123,
  "exchange": "<string>"
}

Authorizations

Authorization
string
header
required

Session token issued by POST /api/users/login, transported as Authorization: Bearer <token>.

Body

application/json
days
integer<int32>
required
exchange
string | null

Response

Update retention days

days
integer<int32>
required
exchange
string
required