#Update contact list

Update an existing contact list.

#Method

PUT

#Path

/lists/[id]

#Body parameters

NameValueData typeRequired?
nameContact list nameStringYes

#Response

#HTTP status codes

CodeRemarks
200Request was successful.
400Validation error or request body was incorrectly formatted.
401Authentication failed. Check apikey header.
404Requested API endpoint not found.
429The rate limit has been reached.
500-511There was a problem processing the request on our server. Try again later.

#Response object

NameValueRemarks
statussuccess or error-
errorsArray of object { msg: [error detail] }Only present when status is error.
dataObject { id: [updated contact list's id]}Only present when status is success

#Code sample

curl --location --request PUT 'https://api.sociocs.com/lists/10001' \ --header 'apikey: your_api_key' \ --header 'Content-Type: application/json' \ --data-raw '{ "name": "My Contact List New Name" }'