You are viewing the Resources for the older version of JourneyApps (V3). JourneyApps V4 is the new default for all new apps since July 1, 2016.

Deleting an Object

This function deletes a single existing object of the given type and with the given ID.

Relative URL HTTP Request Method
/api/v1/object-type/object-id.format DELETE
Note: Replace object-type with the type of object that you wish to delete (as defined in your app's Data Model) and object-id with the ID of the specific object. Replace format with the response data format (json or xml), or leave it out.

Parameters

This function does not take any parameters.

Please Note:

Bulk/batch deleting of objects is not supported. You can only delete one object at a time.

Response

This function does not provide a response. The response body will simply be empty (and a 200 response code indicates success as usual).

Example

Previous Section Next Section