Insert Rules into the specified library.
POST /libraries/:library_id/relationships/rules
curl https://reactor.adobe.io/libraries/:library_id/relationships/rules \
-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 POST \
-d \
'
{
"data": [
{
"id": "RL224560b1ec0c4433b7c8e3f3ad3e66e8",
"type": "rules"
}
]
}'
{
"data": [
{
"type": "rules",
"id": "RL224560b1ec0c4433b7c8e3f3ad3e66e8"
}
],
"links": {
"related": "https://reactor.adobe.io/libraries/LB8a5141d40a9f48448b7a626f02fa05f6/rules",
"self": "https://reactor.adobe.io/libraries/LB8a5141d40a9f48448b7a626f02fa05f6/relationships/rules"
}
}