DELETE subscribers/{id}/subscriptions

Overview

DELETE /v2/subscribers/{id}/subscriptions unsubscribes the specified subscriber from all subscriptions.

Note: This API call does not have a request payload. It also does not have a response payload. Instead, it has a response code of 204 No Content for a successful request.

Resource URI

delete https://api.yesmail.com/v2/subscribers/{id}/subscriptions

Call Description

The DELETE /v2/subscribers/{id}/subscriptions call unsubscribes the specified subscriber from all subscriptions.

URI Parameters

Parameter

Requirement

Description

suppress

Optional

When suppress=true, the user will be globally suppressed. Default is false.

 

HTTP Return Codes

Code

Description

204 No Content

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

400 Bad Request

The subscriber is dead.

401 Unauthorized

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

404 Not Found

The server has not found anything matching the request resource.   For instance, 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.