GET, POST
/api/public/v1/storage/backup-policies
LiveList or create a tag-selector-scoped automated backup policy.
Parameters
| Name | In | Required | Description |
|---|---|---|---|
| name, tagSelector, notificationPolicy | body (POST) | name required | tagSelector is a {key: value} map; notificationPolicy is "onFailure" (default), "always", or "never". |
Response
GET: { policies: [...] }. POST: { policy: {...} }.
Example
curl -H "Authorization: Bearer $INAYA_API_KEY" \
"https://app.inaya.network/api/public/v1/storage/backup-policies"