Update a list

Update an existing contact list identified by its ID. You can update the list name, move it to a different folder by providing a new folderId, or both. Only one of the two parameters (name, folderId) needs to be provided per request.

Authentication

api-keystring

The API key should be passed in the request headers as api-key for authentication.

Path parameters

listIdlongRequired
Id of the list

Request

Values to update a list
folderIdlongOptional

Id of the folder in which the list is to be moved. Either of the two parameters (name, folderId) can be updated at a time.

namestringOptional

Name of the list. Either of the two parameters (name, folderId) can be updated at a time.

Errors

400
Bad Request Error
404
Not Found Error