PATCH
/
v2
/
destinations
/
{id}
curl --request PATCH \
  --url https://api.portable.io/v2/destinations/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "displayName": "<string>",
  "properties": {}
}'
{
  "data": {
    "id": 123,
    "displayName": "<string>",
    "destinationSpec": {
      "name": "<string>",
      "displayName": "<string>",
      "website": "<string>",
      "tagLine": "<string>",
      "lifecycle": "ALPHA",
      "instructions": "<string>",
      "propertyDefinitions": [
        {
          "name": "<string>",
          "displayName": "<string>",
          "type": "STRING",
          "required": true,
          "description": "<string>"
        }
      ]
    },
    "properties": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
integer
required

ID

Body

application/json
displayName
string

A human-readable name for the destination

properties
object

Response

200 - application/json
data
object
required