Loading...
Skip to main content

Restore a list

Restore a previously deleted list.

URL: https://api.courier.com/lists/:list_id/restore

Method: PUT

Path Parameters

list_idstringrequired
A unique identifier associated with the list you wish to retrieve.

Responses

status: 204 Successfully restored

status: 404 Not Found

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

Request Example

curl --request PUT \
--url https://api.courier.com/lists/example.list.id/restore \
--header 'Accept: application/json'

Responses Example

Empty
{
"message": "Not Found",
"type": "invalid_request_error"
}