Scrub API
POST/v1/tools/set_additional_usagefree

Set additional usage

On a plan: whether the workspace's credit pays once the month's work is used up (on), or nothing more is spent until it renews (off). Off by default. Free; it changes at once.

Fields

FieldTypeDefaultWhat it is
onbooleanRequiredtrue to let credit pay past the month.

Call it

Request

curl -X POST https://app.scrub.app/v1/tools/set_additional_usage \
  -H "Authorization: Bearer $SCRUB_KEY" \
  -H "Content-Type: application/json" \
  -d '{"on":true}'

Answer

{
  "ok": true,
  "result": {
    "…": "…"
  }
}

What result holds is said above.

Every call can also answer an error: what comes back. Try it with your key from Account.