PUT /v2/lists/{id}. When you no longer need a list, use DELETE /v2/lists/{id} to remove it permanently.
Update a list
PUT /v2/lists/{id}
The ID of the list to update.
New display name for the list.
Replaces the entire member set with the provided contact IDs.
Contact IDs to add to the list without affecting existing members.
Contact IDs to remove from the list.
Phone numbers in E.164 format (without leading
+) to add to the list.Phone numbers in E.164 format (without leading
+) to remove from the list.Email addresses to add to the list.
Email addresses to remove from the list.
Example
Delete a list
DELETE /v2/lists/{id}
Permanently removes the list. You can optionally pass a body to remove specific contacts before deletion.
The ID of the list to delete.
Optional. Contact IDs to remove from the list before it is deleted.