Associate a subscription
Contributors
Suggest changes
POST /license/subscriptions/account/{accountId}
Associate a subscription with a Tenancy service account.
Each subscription can be associated with multiple accounts.
Token usage: Either a BlueXP user token or service token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
accountId |
string |
path |
True |
|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
Name | Type | Required | Description |
---|---|---|---|
subscriptionId |
string |
True |
Example request
{
"subscriptionId": "string"
}
Response
Status: 200, Success response
Response
Status: 4xx, Error response
Name | Type | Required | Description |
---|---|---|---|
errorCode |
string |
False |
error code |
error |
string |
False |
Error code/category |
message |
string |
False |
Error description message |
Example response
{
"errorCode": "string",
"error": "string",
"message": "string"
}