Delete Destinations

DELETE and POST methods that let you remove destinations and segment mappings.

Delete a Destination

A DELETE method that removes a destination.
Note: You must remove all segment mappings before you can delete a destination.
  • Request: DELETE https://api.demdex.com/v1/destinations/<destinationId>
  • Response: Returns code 204 No Content if successful.

Bulk Delete Destinations

Remove multiple destinations with this POST method. Pass in destination IDs (destinationId) with an array in the request body.

  • Request: POST https://api.demdex.com/v1/destinations/bulk-delete/
  • Response: Returns code 204 No Content if successful.

Delete Destination Mappings by Segment Mapping ID

A POST method that removes destination mappings according to the specified segment ID.
  • Request: DELETE https://api.demdex.com/v1/destinations/<destinationId>/segments/<mappingId>
  • Response: Returns code 204 No Content if successful.