Skip to main content
PUT
Set storage cleanup rules

Authorizations

Authorization
string
header
required

Your instance API key as a bearer token: Authorization: Bearer <api_key>. /rest/1.0 also accepts ?auth_token=; /v0/store also accepts X-StremThru-Store-Authorization: Bearer <api_key>.

Body

application/json
evict_after_days
integer

Remove content idle for this many days.

evict_max_gb
number

Keep your storage under this many GB.

Response

OK.

status
string
Example:

"ok"