cURL
curl --request PATCH \ --url https://api.replyke.com/api/v6/:projectId/lists/:listId \ --header 'Content-Type: application/json' \ --data ' { "update": { "name": "<string>" } } '
{ "id": "<string>", "projectId": "<string>", "userId": "<string>", "name": "<string>", "parentId": "<string>", "entityIds": [ {} ], "subLists": [ {} ], "createdAt": "<string>", "updatedAt": "<string>" }
Update the name of an existing list
Show properties
Missing Data - 400 Bad Request
{ "error": "Missing list ID or update data", "code": "list/missing-data" }
Blank Name - 400 Bad Request
{ "error": "Cannot set the name to blank", "code": "list/blank-name" }
List Not Found - 404 Not Found
{ "error": "List not found", "code": "list/not-found" }
Server Error - 500 Internal Server Error
{ "error": "Server error", "code": "list/server-error", "details": "<Error message>" }
parentId