OttoFMS Settings
Edit Offsite Remote
Path Parameters
remote_name*string
remote location name. this value will be slugified
Length
1 <= lengthRequest Body
application/json
PATCH /otto/api/settings/offsite/remotes/:remote_name Request body
endpoint?string
Length
1 <= lengthaccess_key_id?string
Length
1 <= lengthsecret_access_key?string
Length
1 <= lengthregion?string
bucket_name?string
Used to validate access if ListBuckets permission is not set
remote_path?string
Used to validate access if ListBuckets permission is not set
noCheckBucket?boolean
Default
trueResponse Body
application/json
application/json
curl -X PATCH "https://your.server.net/otto/api/settings/offsite/remotes/string" \ -H "Content-Type: application/json" \ -d '{}'{
"response": {
"ok": true
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}