Method: subscriptions.changeSeats
Updates a subscription's user license settings.
For more information about updating an annual commitment plan or a flexible plan subscription’s licenses, see Manage Subscriptions.
HTTP request
POST https://reseller.googleapis.com/apps/reseller/v1/customers/{customerId}/subscriptions/{subscriptionId}/changeSeats
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
customerId |
string
This can be either the customer's primary domain name or the customer's unique identifier. If the domain name for a customer changes, the old domain name cannot be used to access the customer, but the customer's unique identifier (as returned by the API) can always be used. We recommend storing the unique identifier in your systems where applicable.
|
subscriptionId |
string
This is a required property. The subscriptionId is the subscription identifier and is unique for each customer. Since a subscriptionId changes when a subscription is updated, we recommend to not use this ID as a key for persistent data. And the subscriptionId can be found using the retrieve all reseller subscriptions method.
|
Request body
The request body contains an instance of Seats
.
Response body
If successful, the response body contains an instance of Subscription
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.order
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-22 UTC.
[null,null,["Last updated 2024-08-22 UTC."],[[["Updates the user license settings for a specific subscription."],["Requires the customer ID and subscription ID to identify the target subscription."],["Uses a `Seats` object in the request body to specify the new license settings."],["Returns the updated `Subscription` object in the response body if successful."],["Needs authorization with the `https://www.googleapis.com/auth/apps.order` scope."]]],["This outlines updating user license settings for a subscription via a `POST` request to a specific URL. The URL requires `customerId` and `subscriptionId` path parameters. The request body uses the `Seats` resource to define changes, and a successful response returns a `Subscription` resource. The required authorization scope is `https://www.googleapis.com/auth/apps.order`. Customer ID can be the domain or unique identifier; subscription ID is unique but changeable.\n"]]