cURL
curl --request PATCH \ --url https://api.monigo.co/v1/subscriptions/{subscription_id} \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "status": "<string>" } '
{}
Changes the status of a subscription (e.g. active, paused, cancelled)
API key with Bearer prefix (for programmatic/server-to-server access), format: Bearer {api_key}
Subscription ID
New status
OK
The response is of type object.
object