Rename a list

PATCH
/lists/list/{listId}

Renames a list. Only name can be changed through this route.

Authorization

apiKey
Authorization<token>

Your 48 character API key, sent as is (a Bearer prefix is tolerated). Create it at https://v3.emelia.io/settings/api.

In: header

Path Parameters

listId*string

List id.

Match^[0-9a-fA-F]{24}$

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/lists/list/65f1a2b3c4d5e6f760f68df4" \  -H "Authorization: YOUR_API_KEY" \  -H "Content-Type: application/json" \  -d '{    "name": "Acme prospects Q4 (France)"  }'
{  "success": true,  "_id": "66f1c0ffee5a7d3b2c4e8a10",  "name": "Acme prospects Q4 (France)"}