Remove a subscriber from a segmentation list
DELETE/segmentation/:id/remove-subscriber/:email
Remove a subscriber from a segmentation list by email
Request
Path Parameters
id stringrequired
Segmentation list ID
email stringrequired
Subscriber email address
Header Parameters
x-api-key stringrequired
Your API key
x-developer-mode boolean
Enable developer mode. Learn more here.
Responses
- 200
- 400
- 404
- 422
- 500
Subscriber removed from segmentation list
- application/json
- Schema
- Example (from schema)
Schema
requestId string
data object
id string
email string
subscriberId string
segmentationListId string
createdAt date-time
updatedAt date-time
{
"requestId": "string",
"data": {
"id": "string",
"email": "string",
"subscriberId": "string",
"segmentationListId": "string",
"createdAt": "2024-07-29T19:44:36.659Z",
"updatedAt": "2024-07-29T19:44:36.659Z"
}
}
Subscriber not enabled
- application/json
- Schema
- Example (from schema)
Schema
error string
errorCode string
requestId string
{
"error": "Subscriber not enabled",
"errorCode": "SUBSCRIBER_NOT_ENABLED",
"requestId": "ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
- Subscriber not found
- Segmentation list not found
anyOf
error string
errorCode string
requestId string
error string
errorCode string
requestId string
{}
Unprocessable Entity
- application/json
- Schema
- Example (from schema)
Schema
- Segmentation id is required
- Subscriber email is necessary
- Unprocessable Entity
anyOf
error string
errorCode string
requestId string
error string
errorCode string
requestId string
error string
errorCode string
requestId string
{}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
error string
errorCode string
requestId string
{
"error": "Internal server error.",
"errorCode": "INTERNAL_SERVER_ERROR",
"requestId": "ff37b0a8-de19-4f72-a7ed-0bd1cb73f29f"
}
Loading...