Skip to main content
PATCH
/
v1
/
subscriptions
/
{id}
/
resume
Reativar assinatura
curl --request PATCH \
  --url https://api.malga.io/v1/subscriptions/{id}/resume \
  --header 'X-Api-Key: <api-key>' \
  --header 'X-Client-Id: <api-key>'
{
  "id": "c7e9f0a3-b0b2-4c56-b918-79e31ed5a4f1",
  "status": "active",
  "message": "Assinatura retomada com sucesso",
  "updatedAt": "2025-07-31T15:00:00Z"
}

Authorizations

X-Client-Id
string
header
required
X-Api-Key
string
header
required

Path Parameters

id
string<uuid>
required

id da assinatura que deseja reativar

Response

200 - application/json

Success

id
string<uuid>

Identificador da assinatura

Example:

"c7e9f0a3-b0b2-4c56-b918-79e31ed5a4f1"

status
string

Novo status da assinatura após retomar

Example:

"active"

message
string

Mensagem explicando o resultado da retomada

Example:

"Assinatura retomada com sucesso"

updatedAt
string<date-time>

Data da atualização da assinatura

Example:

"2025-07-31T15:00:00Z"