DELETE /reference-data/{dataset}/records/{recordid}

Overview

The Reference-Data API permits interaction with existing custom data tables associated with your company. The API's DELETE /v2/reference-data/{dataset}/records/{recordid} call is used to delete the reference data associated with the specified {recordid} from a specified {dataset}.

Resource URI

DELETE https://api.yesmail.com/v2/reference-data/{dataset}/records/{id}

Call Description

The DELETE /v2/reference-data/{dataset}/records/{recordid} call deletes reference data associated with a specified {recordid} and from a specified {dataset}. {recordid} can be a single or composite key. If it's a compostite key then the key should be formed in alphabetical order using a | delimiter,e.g. a|b|c.

HTTP Return Codes

Code

Description

204 No Content

The operation has been completed successfully; there is no response payload.

401 Unauthorized

The request requires user authentication.  Invalid Api-User and/or Api-Key header value.

404 Not Found

The specified dataset does not exist.

409 Conflict

This occurs when the If-Match condition is used (or assumed), and the specified ETag does not match the current ETag for the resource.