Skip to main content
DELETE
/
profiles
/
{user_id}
/
lists
JavaScript
import Courier from '@trycourier/courier';

const client = new Courier({
  apiKey: 'My API Key',
});

const list = await client.profiles.lists.delete('user_id');

console.log(list.status);
{
  "status": "SUCCESS"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

user_id
string
required

A unique identifier representing the user associated with the requested profile.

Response

status
enum<string>
required
Available options:
SUCCESS