Skip to main content
POST
/
base_update
Update the settings for a `base`.
curl --request POST \
  --url https://api.ragkit.com/v1/base_update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "namespace": "<string>",
  "base": "<string>",
  "data": {
    "description": "<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 update.

data
object
required

The settings to update.

Response

Success

success
enum<boolean>
required

Always true.

Available options:
true
data
object
required

The base.