Toggle auto-renew
POST
Enable or disable auto-renewal on a subscription.
portalTokenheader
AuthorizationBearer <token>Portal session token. Obtain via POST /v1/portal/sessions.
id*stringx-api-key*stringAPI key for authentication
Length
1 <= length- body
auto_renew*booleanEnable or disable auto-renewal
Response for status 200
application/json- response
id*stringstatus*stringauto_renew*booleancurl -X POST 'https://api.tryaccess.xyz/api/v1/customers/portal/me/subscriptions/string/auto-renew' \ -H 'x-api-key: string' \ -H 'Content-Type: application/json' \ -d '{ "auto_renew": true}'{ "id": "string", "status": "string", "auto_renew": true}How is this guide?