Skip to content

Delete a classifier

DELETE
/v1/t/adapters/ids/classifier/{id}
curl --request DELETE \
--url https://example.com/v1/t/adapters/ids/classifier/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'

Soft-deletes the classifier and every version of it: the records stay in the database but disappear from reads, are never trained again, and never satisfy content dedupe. Version history is kept so past calls remain explainable. Physical removal happens only when the owning account is purged.

Permission

This operation needs the permission tenant:scenario_template:manage.

id
required
string format: uuid

Classifier id (UUID).

X-Tenant-Sid
string

Names the target tenant.

By principal:

  • A tenant-scoped principal may omit it.
  • A principal with no tenant of its own names one here.

Refused when:

  • A tenant-scoped principal sends a value naming any other tenant.
  • A principal with no tenant of its own omits it.

Deleted

Bad request

Media typeapplication/json
object
name
required
string
message
required
string
code
required
integer
status
required
integer
Examplegenerated
{
"name": "example",
"message": "example",
"code": 1,
"status": 1
}

Unauthorized

Forbidden

Not found

Media typeapplication/json
object
name
required
string
message
required
string
code
required
integer
status
required
integer
Examplegenerated
{
"name": "example",
"message": "example",
"code": 1,
"status": 1
}

Internal server error

Media typeapplication/json
object
name
required
string
message
required
string
code
required
integer
status
required
integer
Examplegenerated
{
"name": "example",
"message": "example",
"code": 1,
"status": 1
}

Bad gateway (upstream adapter error)