Skip to main content

DELETE /profiles/:recipient_id/lists

URL: https://api.courier.com/profiles/:recipient_id/lists

Method: DELETE

Path Parameters

recipient_idstringrequired
A unique identifier representing the recipient associated with the requested profile.

Responses

status: 204 OK

statusstring

status: 400 Bad Request

messagestring
A message describing the error that occurred.
typestring
[invalid_request_error] The type of error that occurred.

Request Example

curl --request DELETE \
--url https://api.courier.com/profiles/0460766e-8463-4905-ae98-b72c7aef41d6/lists \
--header 'Accept: application/json'

Responses Example

{
"status": "SUCCESS"
}
{
"message": "Error Message",
"type": "invalid_request_error"
}
Was this helpful?