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