Skip to main content

DELETE /lists/:list_id/subscriptions/:recipient_id

DELETEhttps://api.courier.com/lists/:list_id/subscriptions/:recipient_id
Delete a subscription to a list by list and recipient ID.
PATH PARAMS
list_idstringrequired
A unique identifier associated with the list you wish to retrieve.
recipient_idstringrequired
A unique identifier representing the recipient associated with the list
Responses
AUTH TOKEN
curl --request DELETE \
--url https://api.courier.com/lists/example.list.id/subscriptions/0460766e-8463-4905-ae98-b72c7aef41d6 \
--header 'Accept: application/json'
Response Example
Empty

Example

Method: DELETE

URL: https://api.courier.com/lists/abcdefgh12345678/subscriptions/0460766e-8463-4905-ae98-b72c7aef41d6