Adobe Launch Logo Adobe Experience Platform Launch

    • Light
    • Dark

Update a Callback

Attributes

Field
Type
Required / Optional
Description
subscriptions
array
required
url
string
required

Definition

PATCH  /callbacks/:id

Example Request

curl https://reactor.adobe.io/callbacks/: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": {
      "url": "https://www.example.net",
      "subscriptions": [
        "rule.created",
        "build.created"
      ]
    },
    "type": "callbacks",
    "id": "CB52cd6c534ebe4e709bea4cd5cb961af7"
  }
}'

Example Response

200 OK
{
  "data": {
    "id": "CB52cd6c534ebe4e709bea4cd5cb961af7",
    "type": "callbacks",
    "attributes": {
      "subscriptions": [
        "rule.created",
        "build.created"
      ],
      "url": "https://www.example.net"
    },
    "relationships": {
      "property": {
        "links": {
          "related": "https://reactor.adobe.io/callbacks/CB52cd6c534ebe4e709bea4cd5cb961af7/property"
        },
        "data": {
          "id": "PR0568dd3776f34cbd96ca2ec91f265485",
          "type": "properties"
        }
      }
    },
    "links": {
      "property": "https://reactor.adobe.io/properties/PR0568dd3776f34cbd96ca2ec91f265485",
      "self": "https://reactor.adobe.io/callbacks/CB52cd6c534ebe4e709bea4cd5cb961af7"
    }
  }
}