subscriptions
url
PATCH /callbacks/:id
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]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X PATCH \
-d \
'
{
"data": {
"attributes": {
"url": "https://www.example.net",
"subscriptions": [
"rule.created",
"build.created"
]
},
"type": "callbacks",
"id": "CB9da8a2a5c45a4260899ce9868d0d5b6b"
}
}'
{
"data": {
"id": "CB9da8a2a5c45a4260899ce9868d0d5b6b",
"type": "callbacks",
"attributes": {
"created_at": "2022-02-04T21:06:27.129Z",
"subscriptions": [
"rule.created",
"build.created"
],
"updated_at": "2022-02-04T21:06:27.714Z",
"url": "https://www.example.net"
},
"relationships": {
"property": {
"links": {
"related": "https://reactor.adobe.io/callbacks/CB9da8a2a5c45a4260899ce9868d0d5b6b/property"
},
"data": {
"id": "PR68a8bded39a8449fb935f3615f80625f",
"type": "properties"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR68a8bded39a8449fb935f3615f80625f",
"self": "https://reactor.adobe.io/callbacks/CB9da8a2a5c45a4260899ce9868d0d5b6b"
}
}
}