Cancel subscription

Cancel subscription

Cancel the current subscription.

POSThttps://studio.edgeimpulse.com/v1/api/user/subscription/cancel
Body
downgradeReasonstring

Reason for downgrading the subscription.

Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/user/subscription/cancel', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text"
}

Last updated