WARNING

WARNING: These APIs are currently in an 'alpha' state and are likely to change over time. We recommend you not use them in a production setting at this time!


Remove resources from a Library

Remove selected resources from the specified Library.

Definition

DELETE  /libraries/:library_id/relationships/resources

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/libraries/:library_id/relationships/resources \
  -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 DELETE
  -d \
'
{
  "data": [
    {
      "id": "RLdef8b01ce681430bb73ae8c0884c4d09",
      "type": "rules"
    },
    {
      "id": "DEb9e099a2709c4cde8046aefdb9ba7cb6",
      "type": "data_elements"
    }
  ]
}'

Example Response

200 OK
{
  "data": [
    {
      "id": "EXd6a3a107723a434db760842daebb7df6",
      "type": "extensions"
    }
  ],
  "links": {
    "related": "http://localhost:9010/libraries/LBdbb59ae89cae4d7dad6f8fe6818e59ad/resources",
    "self": "http://localhost:9010/libraries/LBdbb59ae89cae4d7dad6f8fe6818e59ad/relationships/resources"
  }
}