Adobe Launch Logo Adobe Experience Platform Launch

    • Light
    • Dark

Update an Adapter

Note

Only Adapters with type_of: sftp may be updated.

Attributes

Field
Type
Required / Optional
Description
encrypted_private_key
string
optional
host
string
optional
name
string
optional
path
string
optional
port
integer
optional
username
string
optional

Definition

PATCH  /adapters/:id

Example Request

curl https://reactor.adobe.io/adapters/:id \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -X PATCH \
  -d \
'
{
  "data": {
    "attributes": {
      "name": "My SFTP adapter"
    },
    "id": "ADba7720f173004e02af7281b206842ec7",
    "type": "adapters"
  }
}'

Example Response

200 OK
{
  "data": {
    "id": "ADba7720f173004e02af7281b206842ec7",
    "type": "adapters",
    "attributes": {
      "created_at": "2018-08-31T16:48:36.629Z",
      "host": null,
      "name": "My SFTP adapter",
      "path": null,
      "port": null,
      "status": "succeeded",
      "type_of": "akamai",
      "updated_at": "2018-08-31T16:48:36.878Z",
      "username": null
    },
    "relationships": {
      "property": {
        "links": {
          "related": "https://reactor.adobe.io/adapters/ADba7720f173004e02af7281b206842ec7/property"
        },
        "data": {
          "id": "PRae71bdbb87864edb8c24938b13316f6f",
          "type": "properties"
        }
      }
    },
    "links": {
      "property": "https://reactor.adobe.io/properties/PRae71bdbb87864edb8c24938b13316f6f",
      "self": "https://reactor.adobe.io/adapters/ADba7720f173004e02af7281b206842ec7"
    }
  }
}