Skip to main content
DELETE
/
lists
/
{listId}
cURL
curl --request DELETE \
  --url https://public-api.lonescale.com/lists/{listId} \
  --header 'x-api-key: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "entity": "COMPANY",
  "description": "<string>",
  "organizationId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

x-api-key
string
header
required

Provide your API key in the x-api-key header.

Path Parameters

listId
string<uuid>
required

The ID of the list to delete.

Response

The deleted list

id
string<uuid>

Unique identifier of the list.

name
string

Name of the list.

entity
enum<string>

The entity type of the list.

Available options:
COMPANY,
PEOPLE
description
string

Description of the list.

organizationId
string

The organization this list belongs to.

createdAt
string<date-time>

Creation timestamp.

updatedAt
string<date-time>

Last update timestamp.