POST
/v1/tools/set_additional_usagefreeSet 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
| Field | Type | Default | What it is |
|---|---|---|---|
on | boolean | Required | true 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.