curl https://mc-api-activation-reactor-integration.adobe.io/rule_components/: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": {
"order": 1,
"settings": "{\"elementSelector\":\".accordion\",\"bubbleFireIfChildFired\":false}"
},
"type": "rule_components",
"id": "RC6d260dc5f16c4d8ea46812cd078adafc"
}
}'
200 OK
{
"data": {
"id": "RC6d260dc5f16c4d8ea46812cd078adafc",
"type": "rule_components",
"attributes": {
"created_at": "2018-08-31T16:52:13.183Z",
"delegate_descriptor_id": "kessel-test::events::click",
"dirty": true,
"name": "My Example Click Event",
"negate": false,
"order": 1,
"rule_order": 50.0,
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2018-08-31T16:52:13.400Z",
"settings": "{\"elementSelector\":\".accordion\",\"bubbleFireIfChildFired\":false}"
},
"relationships": {
"updated_with_extension_package": {
"links": {
"related": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc/updated_with_extension_package"
},
"data": {
"id": "EP27e9323eb585411fae6086fc78a3b70b",
"type": "extension_packages"
}
},
"extension": {
"links": {
"related": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc/extension"
},
"data": {
"id": "EXa650b0c5182144ae983dbecc4a571140",
"type": "extensions"
}
},
"origin": {
"links": {
"related": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc/origin"
},
"data": {
"id": "RC6d260dc5f16c4d8ea46812cd078adafc",
"type": "rule_components"
}
},
"rule": {
"links": {
"related": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc/rule"
},
"data": {
"id": "RLbc6db8fd16ff48d6a2a5ff83f5cd233d",
"type": "rules"
}
}
},
"links": {
"extension": "http://localhost:9010/extensions/EXa650b0c5182144ae983dbecc4a571140",
"origin": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc",
"rule": "http://localhost:9010/rules/RLbc6db8fd16ff48d6a2a5ff83f5cd233d",
"self": "http://localhost:9010/rule_components/RC6d260dc5f16c4d8ea46812cd078adafc"
},
"meta": {
"latest_revision_number": 0
}
}
}