cURL
curl --request PATCH \ --url https://api.chatling.ai/v2/chatbots/{chatbotId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "name": "<string>", "visibility": "<string>" }'
{ "status": "success", "data": { "id": "9761342719", "name": "My chatbot", "version": "2.0", "visibility": "public", "created_at": "2024-06-17T12:00:00+00:00" } }
Update the settings of a chatbot.
public
private
success
error
Show properties