DELETE
/
api
/
v1
/
widget-settings
/
{id}
curl -X DELETE https://api.ravan.ai/api/v1/widget-settings/019d1fdb-6701-762d-97bd-93fc72606d7c/ \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Widget settings deactivated successfully"
}
This deactivates the widget settings. Agents associated with this widget will no longer be reachable via the web widget. Use Update Widget Settings if you only want to change individual fields.

Authorizations

X-Api-Key
string
required
Your Agni API key. Find it in your support@ravan.ai under Settings → API Keys.

Path Parameters

id
string
required
The unique UUID of the widget settings to deactivate.

Response

success
boolean
Whether the request succeeded.
message
string
Human-readable status message.
curl -X DELETE https://api.ravan.ai/api/v1/widget-settings/019d1fdb-6701-762d-97bd-93fc72606d7c/ \
  -H "X-Api-Key: YOUR_API_KEY"
{
  "success": true,
  "message": "Widget settings deactivated successfully"
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Widget Settings ID

Response

Successful response