Add backup storage
POST
/backups/storage/manage Delete and money: deletes, credits, servers or panel settings. Scopes
kind local needs a folder; kind s3 needs a storage (a storage connection from Settings → Storage). Panel operators only.
Body
namestringrequiredkindstringrequiredlocal- This servers3- Object storage
One of:
"local""s3"folderstringstoragestring (uuid)can be nullis_defaultbooleanTicked when a backup is started by hand.
Response
201 OK
idstring (uuid)requiredread-onlynamestringrequiredkindstringrequiredlocal- This servers3- Object storage
One of:
"local""s3"folderstringstoragestring (uuid)can be nullstorage_namestringrequiredread-onlyis_defaultbooleanTicked when a backup is started by hand.
locationstringrequiredread-onlyschedulesstring[]requiredread-onlylast_checked_atstring (date-time)requiredread-onlycan be nulllast_check_okbooleanrequiredread-onlycan be nulllast_check_messagestringrequiredread-onlycreated_atstring (date-time)requiredread-onlyupdated_atstring (date-time)requiredread-only
Errors
- 400 Something sent is not valid. Each field that is wrong is named with what is wrong.
- 401 No credential, or one that is wrong, expired or revoked.
- 403 The account, or the key's or app's scopes, may not do this.
- 429 Slow down: wait the seconds in the Retry-After header, then try again.