Update a contact list

Renames the list and, on a blacklist list, replaces the channels it suppresses on. type is fixed at creation and cannot be patched. Omitting channels leaves them as they are; [] clears them, which stops the list suppressing anything. Setting a non-empty channels on a default list is rejected with 422, and taking a name another list already holds with 409. Which contacts are in the list is changed through the membership endpoints, not here.

Sintalk is provisioned for you and cannot be renamed; renaming it is rejected with 409. Its channels can still be changed.

Path Params
uuid
required

Identifier of the contact list to update.

Body Params

Fields to change on a contact list; its type is not among them.

string
required
length between 3 and 120

New name for the list; must not already be taken by another of your lists.

channels
array of objects

Replaces the channels a blacklist list suppresses on; duplicates are collapsed. Omit it to leave them as they are, or send [] to stop the list suppressing anything. A non-empty value on a default list is rejected with 422.

channels
Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json