Skip to main content

Update a member

PATCH 

https://api.botsubscription.com/v1/bot:bot_id/:api_key/member/:member_id

Update the membership of a member.

Request

Responses

The member has been successfully updated.
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
— pathrequired
Body
{
  "project_id": 0,
  "membership": {
    "cancel": true,
    "end": 0
  }
}
ResponseClear

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