OttoFMS Settings
[Deprecated] Update Offsite Backup Settings
Request Body
application/json
POST /otto/api/settings/offsite Request body
endpoint*string
S3 endpoint to use for offsite backup
region?string
access_key_id*string
secret_access_key*string
bucketName*string
Name of the bucket to use for this server
Length
1 <= lengthremotePath?string
Remote path to use for this server. We recommend using the server name
setupBackupSchedule?boolean
If true, will setup an offsite backup schedule with the update of the settings.
Default
falseResponse Body
application/json
application/json
curl -X POST "https://your.server.net/otto/api/settings/offsite" \ -H "Content-Type: application/json" \ -d '{ "endpoint": "string", "access_key_id": "string", "secret_access_key": "string", "bucketName": "string" }'{
"response": {},
"messages": [
{
"code": 0,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}