Meride API - Nielsen - Delete

This page explains how to delete Nielsen elements.

Entity name: nielsen.

DELETE http://API_DOMAIN/rest/v2/nielsen/{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/nielsen/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('nielsen', 2);