Meride API - Bulk - Delete

This page explains how to delete Bulk elements.

Entity name: bulk.

DELETE http://API_DOMAIN/rest/v2/bulk/{resource-id}.{format}

{resource-id}: the object ID

Attributes

No parameter

Example of a request

curl -i -H "Accept: application/json" -H "access-token: [your-access-token]" -H "X-HTTP-Method-Override: DELETE" -X POST http://API_DOMAIN/rest/v2/bulk/39.json

Response

"delete"

Note The DELETE method is not supported by all systems. In case of problems, add the parameter to the Header of the callX-HTTP-Method-Override: DELETE and use the methodPOST as default

PHP SDK documentation
$merideApi = new Meride\Api('[your-auth-code]', 'http://API_DOMAIN/', 'v2');
$response = $merideApi->delete('bulk', 2);