Skip to main content
PATCH
/
:projectId
/
lists
/
:listId
Update List
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>"
}
Updates the name of an existing non-root list belonging to the authenticated user.

Path Parameters

listId
string
required
The ID of the list to update

Body Parameters

update
object
required

Response

id
string
Unique list identifier
projectId
string
Project identifier
userId
string
ID of the user who owns the list
name
string
Updated name of the list
parentId
string
ID of the parent list
entityIds
array
Array of entity IDs saved in this list
subLists
array
Array of nested sub-lists
createdAt
string
Creation timestamp in ISO 8601 format
updatedAt
string
Last update timestamp in ISO 8601 format

Error Responses

{
  "error": "Missing list ID or update data",
  "code": "list/missing-data"
}
{
  "error": "Cannot set the name to blank",
  "code": "list/blank-name"
}
{
  "error": "List not found",
  "code": "list/not-found"
}
{
  "error": "Server error",
  "code": "list/server-error",
  "details": "<Error message>"
}

Notes

  • Only sub-lists (lists with a parentId) can be renamed via this endpoint.
  • The response includes the updated and populated list.
I