API > list > Update List

PUT https://app.replyup.com/api/list/{id}
Update the lists
Default Parameter
api_key (string) Your api key
id(string) * list id that needs to be updated
name(string) The name of the list.
status(number) The status of the list.
200 returns

successful operation

id (string) The identifier of the list.
name (string) The name of the list.
userId (integer) The userId of the list.
status (integer) The status of the list.
updatedAt (string) When was the list last updated.
createdAt (string) When was the list created.
400 returns

Invalid status value

success (boolean) It defines if response is success, or failure
statusCode (string) Error code
message (string) A description of the error.
Example request
{"id":1,"name":"Updated list"}
Example response
            {"id":1,"name":"Updated list","status":"1","createdAt":"2022-03-03T18:17:41.000Z","updatedAt":"2022-03-03T18:17:41.000Z"}