TryzenAPI
Lists

Rename a list

PATCH
/v1/lists/{listId}

Access: an API key (or an org-wide key naming the workspace) with manage on leads.

Authorization

apiKey
headerx-api-key<token>

Workspace API key (nrk_…), shown once when created

Path Parameters

listId*string
Match^[0-9a-f]{24}$

Request Body

application/json
  1. body
name*string
Length1 <= length <= 200

Response Body

Default Response

application/json
  1. response
list*
Example Request
curl -X PATCH 'https://api.tryzen.co/v1/lists/string' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "list": {    "id": "string",    "name": "string",    "type": "people",    "status": "importing",    "leadCount": 0,    "campaigns": [      {        "id": "string",        "name": "string"      }    ],    "createdAt": "2019-08-24T14:15:22Z",    "customFieldNames": [      "string"    ]  }}