offlineLicenseCreate
Generate an offline license JWT with a 1-year expiry for a subscription. The offlineLicenseCreate mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: standard:write
mutation offlineLicenseCreate ($subscriptionId: ID, $licenseId: ID) {
offlineLicenseCreate (subscriptionId: $subscriptionId, licenseId: $licenseId) {
errors
token
}
}
ArgumentsLink to Arguments section
{
"subscriptionId": "456123",
"licenseId": "456123"
}
| Name | Type | Description |
|---|---|---|
| subscriptionId | ID | |
| licenseId | ID |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) | |
| token | String |