FruxonDocs
ApiEmbed configs

Updates an embed config's origins, presentation, and enabled state.

Set `enabled=false` to disable an embed without deleting it — the gateway then rejects new sessions for its key while history is preserved. The key is unchanged; use rotateKey to invalidate live snippets.

PUT
/v1/tenants/{tenant}/agents/{agent}/embedConfigs/{embedConfig}
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The agent identifier.

embedConfig*string

The embed config id.

tenant*string

The tenant identifier

The new origins, enabled state, and presentation.

allowedOrigins?|null
enabled?boolean
greeting?string|null
suggestedPrompts?|null
themeJson?string|null
[key: string]?never

Response Body

curl -X PUT "https://api.fruxon.com/v1/tenants/string/agents/string/embedConfigs/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "agentId": "string",
  "key": "string",
  "enabled": false,
  "allowedOrigins": [
    "string"
  ],
  "greeting": "string",
  "suggestedPrompts": [
    "string"
  ],
  "themeJson": "string",
  "createdAt": 0,
  "modifiedAt": 0
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}