Skip to main content

Update the preferred subscription ID for an account

Updates the preferred subscription ID for an account, specifying which subscription is prioritized for the associated account. Use this to manage subscription preferences for billing or service-related operations.

HTTP method and endpoint

PUT /license/account/{accountId}/subscriptions/preferred

Token usage

NetApp Console user token.

Usage notes

Updates the preferred subscription for a specified account ID.

Note:

  • This API authorizes user calls and service calls with a predefined scope only.

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"
}