Delete Recipient List Recipient
Audiences/Recipient lists / Recipient lists
Delete Recipient List Recipient
Description
Delete a recipient from where recipientId is the id of the recipient to be deleted and recipientListId is the id of the list that it belongs.
If the recipient is being used in a campaign if will be soft delete (isDeleted flag being set to true). If not the recipient will be deleted from database.
Validations
- If recipient doesn’t not exists it will return an error with 404 error.
- If recipient list doesn’t not exists it will return an error with 404 error.
Response
No response with 204 status.
{}
DELETE
Delete Recipient List Recipient
Description
Delete a recipient from whererecipientId is the id of the recipient to be deleted and recipientListId is the id of the list that it belongs.
If the recipient is being used in a campaign if will be soft delete (isDeleted flag being set to true). If not the recipient will be deleted from database.
Validations
- If recipient doesn’t not exists it will return an error with 404 error.
- If recipient list doesn’t not exists it will return an error with 404 error.