POST target-lists/{listname}/archive

Overview

The Target-List API permits interaction with target lists associated with your company. The API's POST /v2/target-lists/{listname}/archive call is used to archive a specified target list {listname}.

Resource URI

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

Call Description

The POST /v2/target-lists/{listname}/archive call archives the 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 target list {listname} 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.