Skip to main content
DELETE
/
base_delete
Delete a `base` and all related data.
curl --request DELETE \
  --url https://api.ragkit.com/v1/base_delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "namespace": "<string>",
  "base": "<string>"
}
'
{
  "success": true,
  "data": {
    "namespace": "<string>",
    "key": "<string>",
    "description": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
namespace
string
required

The namespace in which the base exists.

base
string
required

The key of the base to delete.

Response

Success

success
enum<boolean>
required

Always true.

Available options:
true
data
object
required

The base.