curl --request POST \
--url https://api.malga.io/v1/subscriptions/{id}/cancel \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"id": "019860b2-feb8-7edf-b5ba-0c48a7a8bd3f",
"status": "canceled",
"message": "Assinatura cancelada com sucesso",
"updatedAt": "2025-07-31T14:00:00Z"
}
curl --request POST \
--url https://api.malga.io/v1/subscriptions/{id}/cancel \
--header 'X-Api-Key: <api-key>' \
--header 'X-Client-Id: <api-key>'
{
"id": "019860b2-feb8-7edf-b5ba-0c48a7a8bd3f",
"status": "canceled",
"message": "Assinatura cancelada com sucesso",
"updatedAt": "2025-07-31T14:00:00Z"
}
id da assinatura que deseja cancelar
Success
The response is of type object
.
Was this page helpful?