Connections

Set how long past connections are kept

PUT/streams/activity/retention/

manage Delete and money: deletes, credits, servers or panel settings. Scopes

Ended connections older than retention_days are deleted once a day; 0 keeps them. Panel operators only.

Body

  • retention_daysintegerrequired

    0: kept for good.

Response

200 OK

  • retention_daysintegerrequired

    0: kept for good.

Errors

  • 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
  • 401 No credential, or one that is wrong, expired or revoked.
  • 403 The account, or the key's or app's scopes, may not do this.
  • 429 Slow down: wait the seconds in the Retry-After header, then try again.

What each error means