Artboard
OttoFMS Settings

Edit Offsite Remote

PATCH
/otto/api/settings/offsite/remotes/{remote_name}

Path Parameters

remote_name*string

remote location name. this value will be slugified

Length1 <= length

Request Body

PATCH /otto/api/settings/offsite/remotes/:remote_name Request body

application/json
  1. body
access_key_id?string
bucket_name?string

Used to validate access if ListBuckets permission is not set

endpoint?string
Length1 <= length
env_auth?boolean

Use environment variables for S3 authentication

Defaultfalse
noCheckBucket?boolean
Defaulttrue
rclone_flags?

Additional rclone configuration flags as key-value pairs. Reserved keys will be ignored.

region?string
remote_path?string

Used to validate access if ListBuckets permission is not set

secret_access_key?string

Response Body

PATCH /otto/api/settings/offsite/remotes/:remote_name Positive response

application/json
  1. response
messages*array<>
response*
Example Request
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?