Metered Subscriptions

Deactivate Metered Subscription

Changed on

Deactivate a metered subscription by setting its end time to now. This subscription stops being billable after this exact time. Note: deactivated subscriptions can still have usage recorded; it won't be billed.

delete/api/v2/metered_subscriptions/{subscription_id}

Request

  • Base URL
    https://stream-app-service.streampay.sa
  • Auth
    • HTTP bearer
    • or API key in header x-api-key

Path parameters

subscription_idstring uuid required

Unique identifier of the metered subscription to deactivate

Response

Successful Response

idstring uuid
product_idstring uuid
organization_consumer_idstring uuid
organization_idstring uuid
starts_atstring date-time
ends_atstring date-time nullable
created_atstring date-time
updated_atstring date-time nullable

Changes