Update a custom list

Update name, description, or status of an existing custom list by its ID.

Path parameters

listIdstringRequiredformat: "^[0-9a-fA-F]{24}$"
The unique identifier of the custom list

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringOptional
Updated name of the custom list
descriptionstringOptional
Updated description of the custom list
statusenumOptional
Updated status of the custom list
Allowed values:

Response

Custom list updated successfully
messagestring
Response message
resultboolean
Indicates if the request was successful
contentlist of objects or null
Array containing the updated custom list

Errors