PATCH
/
list
/
{id_list}
curl --request PATCH \
  --url https://api.breakcold.com/list/{id_list} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "name": "Updated Campaign List",
  "emoji": "🎯",
  "description": "Updated description for the campaign."
}'
{
  "name": "Updated Campaign List",
  "emoji": "🎯",
  "description": "Updated description for the campaign."
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id_list
string
required

The unique identifier of the list to be updated.

Body

application/json
Updated details of the list.
name
string

Updated name of the list.

Example:

"Updated Campaign List"

emoji
string

Updated emoji for the list.

Example:

"🎯"

description
string

Updated description of the list.

Example:

"Updated description for the campaign."

Response

200
application/json
List updated successfully.
name
string

Updated name of the list.

Example:

"Updated Campaign List"

emoji
string

Updated emoji for the list.

Example:

"🎯"

description
string

Updated description of the list.

Example:

"Updated description for the campaign."