Replace all existing DataElements on a Library with the specified DataElements
PATCH /libraries/:library_id/relationships/data_elements
curl https://reactor.adobe.io/libraries/:library_id/relationships/data_elements \
-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": [
{
"id": "DEc7410c2f3c2949f6a11cc61c0df8004c",
"type": "data_elements"
}
]
}'
{
"data": [
{
"type": "data_elements",
"id": "DEc7410c2f3c2949f6a11cc61c0df8004c"
}
],
"links": {
"related": "https://reactor.adobe.io/libraries/LBd165b09f81b24a45b6019e5531a5ace8/data_elements",
"self": "https://reactor.adobe.io/libraries/LBd165b09f81b24a45b6019e5531a5ace8/relationships/data_elements"
}
}