Removing a relationship between an entry and resources deletes the relationships specified in the payload.
DELETE Delete Entry Relationships
Remove all relationships between an entry and resources.
|Required||The slug of the entry this field belongs to.|
|Required||The ID of the entry this field belongs to.|
|Required||The slug of the Flow the entry belongs to.|
|Required||The Bearer token required to get access to the API.|
curl -X DELETE https://api.moltin.com/v2/flows/:flowSlug/entries/:entryId/relationships/:fieldSlug \ -H "Authorization: Bearer XXXX" \ -H "Content-Type: application/json"
const flowSlug = "flow-slug"; const entryId = "25617d3e-14a6-434c-bfab-3fda87517aaf"; const fieldSlug = "field-slug"; // Where `EPCC` is an authenticated client await EPCC.Flows.DeleteEntryRelationship(flowSlug, entryId, fieldSlug);
204 No Content