PUT Update List​
PUT
/lists/{id}
Update an existing contact list by its ID. The title field is required. If slug is provided, it is regenerated from the title. Alternatively, set id to 0 and pass update_by=slug to find the list by its slug instead.
Authorizations​
ApplicationPasswords
WordPress Application Passwords — use Basic auth with your WordPress username and an application password in the format: username:application_password
Type
API Key (header: Authorization)
Parameters​
Path Parameters
id*
The ID of the list to update. Pass 0 with update_by=slug to look up by slug instead.
Type
Requiredinteger
Request Body​
application/json
JSON
{
"title": "string",
"slug": "string",
"description": "string",
"update_by": "string"
}
Responses​
List updated successfully.
application/json
JSON
{
"lists": 0,
"message": "string"
}