GET, PATCH, DELETE

/api/public/v1/storage/resources/{resourceId}

Live

Read, expand the capacity of, or delete one storage resource.

Parameters

NameInRequiredDescription
action, newCapacityGBbody (PATCH)trueaction 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"