Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
A unique identifier representing the list you wish to retrieve.
curl --request PUT \
--url https://api.courier.com/lists/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}'Create or replace an existing list with the supplied values.
curl --request PUT \
--url https://api.courier.com/lists/{list_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"preferences": {
"categories": {},
"notifications": {}
}
}'Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A unique identifier representing the list you wish to retrieve.