Skip to main content
DELETE
/
v1
/
datasets
/
{dataset_id}
cURL
curl -X DELETE -H 'Authorization: Bearer $TOKEN' \
  $API_BASE/v1/datasets/$DATASET_ID
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT token from Stytch B2B authentication (magic link, SSO, or M2M)

Headers

Idempotency-Key
string | null

Path Parameters

dataset_id
string
required

Dataset ID

Example:

"dataset_abc123"

Response

Dataset deleted