GET, PATCH, DELETE
/api/public/v1/storage/resources/{resourceId}
LiveRead, expand the capacity of, or delete one storage resource.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| action, newCapacityGB | body (PATCH) | true | action must be "expand"; capacity is increase-only, a decrease is rejected with a 400. |
Response
GET: { resource }. PATCH: { requestedGB }. DELETE: { deleted: true }.
Example
curl -H "Authorization: Bearer $INAYA_API_KEY" \
"https://app.inaya.network/api/public/v1/storage/resources/REPLACE_ME"