Skip to main content

Cancel a Monitoring Subscription

POST 

https://api.goodstack.io/v1/monitoring-subscriptions/:id/cancel

Cancel a Monitoring Subscription

Request​

Path Parameters

    id stringrequired

    Id of the Monitoring Subscription.

Responses​

Successfully cancelled a Monitoring Subscription

Schema

    data

    object

    idstring
    Example: monitoringsubscription_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    organisationIdstringnullable
    Example: organisation_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    validationRequestIdstringnullable
    Example: validationrequest_xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    statusstring

    Possible values: [cancelled]

    Example: cancelled
    createdAtdate-time
    Example: 2020-10-13T17:46:54.000Z
    objectstring
    Example: monitoring_subscription

Authorization: Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key starting with 'sk_' that must be kept secure
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, "https://api.goodstack.io/v1/monitoring-subscriptions/:id/cancel");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "<Authorization>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://api.goodstack.io
Auth
Parameters
— pathrequired
ResponseClear

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