DELETE target-lists/{listname}/members/{id}

Overview

The Target-List API permits interaction with target lists associated with your company.  You can use the API's DELETE /v2/target-lists/{listname}/members/{id} call to remove a specified member {id} from the target list.

Resource URI

DELETE https://api.yesmail.com/v2/target-lists/{listname}/members/{id}

Call Description

The DELETE /v2/target-lists/{listname}/members/{id} call removes the specified member {id} from the specified target-list {listname}.

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 “listname" does not exist or is archived, or the "id" does not exist.

409 Conflict

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