import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.profiles.delete('user_id');
{ "message": "<string>"}
User Profiles
Delete a profile
Deletes the specified user profile.
DELETE
/
profiles
/
{user_id}
JavaScript
import Courier from '@trycourier/courier';const client = new Courier({ apiKey: process.env['COURIER_API_KEY'], // This is the default and can be omitted});await client.profiles.delete('user_id');