OttoFMS Settings
Edit Offsite Remote
PATCH
remote_name*stringremote location name. this value will be slugified
Length
1 <= lengthPATCH /otto/api/settings/offsite/remotes/:remote_name Request body
application/json- body
access_key_id?stringbucket_name?stringUsed to validate access if ListBuckets permission is not set
endpoint?stringLength
1 <= lengthenv_auth?booleanUse environment variables for S3 authentication
Default
falsenoCheckBucket?booleanDefault
truerclone_flags?Additional rclone configuration flags as key-value pairs. Reserved keys will be ignored.
region?stringremote_path?stringUsed to validate access if ListBuckets permission is not set
secret_access_key?stringPATCH /otto/api/settings/offsite/remotes/:remote_name Positive response
application/json- response
messages*array<>response*curl -X PATCH 'https://your.server.net/otto/api/settings/offsite/remotes/remote_name_1' \ -H 'Content-Type: application/json' \ -d '{ "access_key_id": "AKIAIGMFG4BqweWD3T7Q", "endpoint": "https://s3.us-east-1.amazonaws.com", "region": "us-east-1", "secret_access_key": "ewqewd3T7Q"}'Example Response
{ "messages": [ { "code": 0, "text": "ok" } ], "response": {}}Was this page helpful?