Skip to main content
DELETE
/
customers
/
{customer_id}
/
tags
/
{id}
Typescript (SDK)
import { Crevio } from "@crevio/sdk";

const crevio = new Crevio({
  apiKey: process.env["CREVIO_API_KEY"] ?? "",
});

async function run() {
  const result = await crevio.customers.removeTag({
    customerId: "<id>",
    id: "<id>",
  });

  console.log(result);
}

run();
{
  "id": "<string>",
  "object": "<string>",
  "email": "<string>",
  "name": "<string>",
  "first_name": "<string>",
  "last_name": "<string>",
  "confirmed_at": "2023-11-07T05:31:56Z",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "orders_count": 123,
  "total_spend": 123,
  "tags": "<array>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.crevio.co/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API key in the format: Bearer {api_token}

Path Parameters

customer_id
string
required

The customer ID

id
string
required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

Response

Tag removed

id
string
required
object
string
required
email
string
required
name
string | null
required
first_name
string | null
required
last_name
string | null
required
customer_type
enum<string>
required
Available options:
paid,
free,
lead
confirmed_at
string<date-time> | null
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
orders_count
integer
required
total_spend
number
required
tags
array
required