⚓️ Portcall

Canceling subscriptions

Cancel active subscriptions and control entitlement reset behavior.

Cancel an active subscription:

curl -sS -X POST "$PORTCALL_API_BASE/v1/subscriptions/sub_123/cancel" \
  -H "x-api-key: $PORTCALL_API_KEY" \
  -H "content-type: application/json" \
  -d '{"skip_entitlement_reset":false}'

Notes

  • Only active subscriptions can be canceled.
  • Default behavior resets related entitlements.
  • Set skip_entitlement_reset to true if you need to preserve access temporarily.

Check current subscription state with:

  • GET /v1/subscriptions/{id}
  • GET /v1/subscriptions?user_id=<user_id>

On this page