Add seats to an existing subscription.
Prerequisites
You have obtained the AccessKey of an Alibaba Cloud account or a RAM user, and the identity has been granted the RAM permissions required to call BssOpenApi. We recommend that you set the AccessKey as the environment variables ALIBABA_CLOUD_ACCESS_KEY_ID and ALIBABA_CLOUD_ACCESS_KEY_SECRET instead of hard-coding it.
You have an existing Token Plan team edition seat subscription, and you have obtained ProductCode, ProductType, and SubscriptionType by calling QueryProductList.
Request description
- HTTP method:POST
-
Request URL
Region
Endpoint
China site
-
Authentication
This operation belongs to BssOpenApi (version
2023-09-30) and uses AccessKey-based RPC signatures (HMAC-SHA1). TheAuthorization: Bearer {API_KEY}scheme is not supported. We recommend that you call this operation with theCommonRequestclass of an Alibaba Cloud SDK. The SDK generates the common parameters and calculates the signature automatically.
Request parameters
All parameters are passed as form data or in the query string. Array parameters use the Flat format: Configs.1.Code and Configs.1.Value, where the index starts from 1.
Parameter | Type | Required | Description |
|---|---|---|---|
ProductCode | string | Yes | Product code. Obtain it by calling |
ProductType | string | Yes | Product type. Obtain it by calling |
SubscriptionType | string | Yes | Subscription type. Obtain it by calling |
ClientToken | string | Yes | Idempotency token. Generate it on the client and keep it unique across requests. Maximum length: 64 ASCII characters. |
Seats | long | Yes | Number of seats to add. Minimum value: 1. |
Configs | Array | Yes | Module properties. |
Configs.N.Code | string | No | Module property code. Example: |
Configs.N.Value | string | No | Module property value. Examples: |
Code and Value in Configs must be specified as a pair. The supported values depend on the product.Response parameters
Parameter | Type | Description |
|---|---|---|
RequestId | string | Request ID. |
Success | boolean | Whether the request was successful. |
Code | string | Result code. The value is |
Message | string | Result message. |
Data | object | Business data. |
Data.OrderId | long | Order ID. |
Data.InstanceId | Array[string] | Instance IDs. |
Data.HostId | string | Site identifier. The China site returns |
AccessDeniedDetail | string | Detailed error information returned when RAM permissions are denied. |
Request example
This operation uses BssOpenApi RPC signatures. In the following example, ${SIGNATURE} must be calculated with the signature algorithm, and SignatureNonce and Timestamp must be replaced with actual values. An Alibaba Cloud SDK handles the common parameters and signature automatically.