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

application/json

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

endpoint?string
Length1 <= length
access_key_id?string
Length1 <= length
secret_access_key?string
Length1 <= length
region?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
Defaulttrue

Response 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"
    }
  ]
}