PUT
/
lists
/
{id}
curl --request PUT \
  --url https://api.pipeium.com/lists/123e4567-e89b-12d3-a456-426614174000 \
  --header 'Authorization: Bearer {api_key}' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Updated List Name",
    "webhook_url": "https://api.yourapp.com/webhooks/pipeium"
  }'
{
  "message": "List updated",
  "listId": "123e4567-e89b-12d3-a456-426614174000"
}
Update an existing list’s properties.

Path Parameters

id
string
required
The ID of the list to update

Body Parameters

name
string
required
The new name for the list
webhook_url
string
Optional webhook URL for notifications

Response

message
string
Success message
listId
string
The ID of the updated list

Error Responses

message
string
Error message when the operation fails
curl --request PUT \
  --url https://api.pipeium.com/lists/123e4567-e89b-12d3-a456-426614174000 \
  --header 'Authorization: Bearer {api_key}' \
  --header 'Content-Type: application/json' \
  --data '{
    "name": "Updated List Name",
    "webhook_url": "https://api.yourapp.com/webhooks/pipeium"
  }'
{
  "message": "List updated",
  "listId": "123e4567-e89b-12d3-a456-426614174000"
}