POST
/v1/tools/add_storagefreeAdd storage
A Stripe page where More storage is bought by the month, on any plan, Free included: 100 GB for $5 a month, or 1 TB for $45 a month, added to what the plan includes and shared by the team. One size at a time: another size takes its place. It starts when it is paid there; ending it on manage_plan keeps every file, and only adding stops once the files pass the storage left. Free to ask; the price is on the page.
Fields
| Field | Type | Default | What it is |
|---|---|---|---|
gb | one of | Required | 100: 100 GB, $5 a month; 1000: 1 TB, $45 a month1001000 |
Call it
Request
curl -X POST https://app.scrub.app/v1/tools/add_storage \
-H "Authorization: Bearer $SCRUB_KEY" \
-H "Content-Type: application/json" \
-d '{"gb":100}'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.