Skip to main content
DELETE
Delete data sources

Authorizations

Authorization
string
header
required

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

Body

application/json

Data source deletion details

agentId
string
required

Unique identifier of the agent

Example:

"clx1234567890abcdef"

source
enum<string>
required

Type of data source to delete

Available options:
WEBSITE,
TEXT,
QA,
PDF,
DOCX,
IMAGE
Example:

"WEBSITE"

id
string

Unique identifier of the data source item to delete (for single deletion)

Example:

"ds_1234567890"

ids
string[]

Array of unique identifiers for bulk deletion

Example:

Response

Data sources deleted successfully

status
string
Example:

"success"

data
object