curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/user/subscription/cancel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"downgradeReason": "<string>"
}'
{
"success": true,
"error": "<string>"
}
Cancel the current subscription.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/user/subscription/cancel \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"downgradeReason": "<string>"
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.