Toggle auto-renewal

Enables or disables automatic renewal for a subscription. Disabling auto-renewal allows the subscription to expire at the end of the current billing period without generating a new invoice.

PATCH

Headers

string

The Bearer token for authentication.

string

The user agent of the request. Must contain at least two identifiers separated by a space.

string

The content type of the request.

Parameters

string

The ID of the subscription to toggle auto-renewal for.

Response Body

application/json
boolean

Indicates that the request was successful.

string

A descriptive message regarding the result.