DELETE
/
datasources
/
{id}
curl --request DELETE \
  --url https://api.chatvolt.ai/datasources/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "id": "<string>",
  "type": "<string>",
  "name": "<string>",
  "status": "unsynched",
  "groupId": "<string>",
  "updatedAt": "2023-12-25",
  "createdAt": "2023-12-25",
  "lastSynch": "2023-12-25",
  "config": {}
}

Authorizations

Authorization
string
headerrequired

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

Path Parameters

id
string
required

ID of the datasource

Body

application/json · object

The body is of type object.

Response

200 - application/json
id
string
type
string
name
string
status
enum<string>
Available options:
unsynched,
pending,
running,
synched,
error,
usage_limit_reached
groupId
string
updatedAt
string
createdAt
string
lastSynch
string
config
object