Skip to main content

Update bot settings

PATCH 

https://api.botsubscription.com/v1/bot:bot_id/:api_key/settings

Update the settings of the bot.

Request

Responses

The bot settings have been successfully modified.
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://api.botsubscription.com");
request.Headers.Add("Accept", "application/json");
var content = new StringContent(string.Empty);
content.Headers.ContentType = new MediaTypeHeaderValue("application/json");
request.Content = content;
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.botsubscription.com
Parameters
— pathrequired
— pathrequired
Body
{
  "settings": {
    "setting": "test_mode"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!