Audience List

Update an existing list

PUT method to update an existing audience list.

Parameters

Name Description
account_id required Account unique identifier
id required List unique identifier
name Name of the list
description Description of the list
visibility Visibility of the list

Request

Route
PUT 
/v2/account/:account_id/lists/:id
Headers
Accept: application/json 
Authorization: Token token={account.secret}
Content-Type: application/json
Body
{
  "name": "Updated List",
  "description": "Updated description",
  "visibility": "private"
}

Response

Status
200
Body
{
  "id": "updated_list_id",
  "name": "Updated List",
  "description": "Updated description",
  "visibility": "private"
}