Connections

Clear past connections

POST/streams/activity/clear/

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

Deletes ended connections from the history: all of them, or those older than older_than_days. Live connections are never touched. Panel operators only.

Body

  • older_than_daysinteger

    Default: 0

Response

200 OK

  • deletedintegerrequired

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