Update the preferred subscription ID for an account
PUT /license/account/{accountId}/subscriptions/preferred
Updates the preferred subscription for a specified account ID.
Note:
-
This API authorizes user calls and service calls with a predefined scope only.
Token usage: NetApp Console user 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 |
|---|---|---|---|
aws |
string |
False |
|
gcp |
string |
False |
|
azure |
string |
False |
Example request
{
"aws": "string",
"gcp": "string",
"azure": "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"
}