subscriptionSetAutoRenew
Toggle auto-renew ON or OFF on a subscription. The subscriptionSetAutoRenew mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation subscriptionSetAutoRenew ($ids: [ID!]!, $evergreen: Boolean!) {
subscriptionSetAutoRenew (ids: $ids, evergreen: $evergreen) {
errors
subscriptions
}
}
ArgumentsLink to Arguments section
{
"ids": [
"456123"
],
"evergreen": true
}
| Name | Type | Description |
|---|---|---|
| ids | List (ID) | |
| evergreen | Boolean |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| subscriptions | List (Subscription) |