APIUpdate Setting API - Change Bot Configuration | BotSubscription

Update Setting - Change Bot Configuration via API

Change a single configuration value by specifying its key. This endpoint replaces the current value with your new value. Use it for targeted configuration changes without affecting other settings in your project.

PUT/v2/projects/{project_id}/settings/{key}

Authorization

Bearer TokenRequired

Path Parameters

project_idstringRequired

The unique identifier of the project.

keystringRequired

The setting key to update.

Request Body

valueanyRequired

The new value for the setting.

Request
curl -X PUT "https://api.botsubscription.com/v2/projects/YOUR_PROJECT_ID/settings/default_language" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "value": "es"
  }'
Setting updatedapplication/json

No response body is returned on successful update.

Last updated: