Loading...
Skip to main content

PUT /lists/:list_id

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

Method: PUT

Path Parameters

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

Body Parameters

namestringrequired
List name
preferencesobject
+ Show Properties

Responses

status: 204 Successfully created

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 PUT \
--url https://api.courier.com/lists/example.list.id \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Example List Name"
}
'

Responses Example

Empty
{
"message": "Error Message",
"type": "invalid_request_error"
}