Exchange a Cloud Volumes ONTAP license
Contributors
Suggest changes
POST /license/exchange
Exchanges an unused Cloud Volume ONTAP license with a data service license.
Note:
To use this endpoint you must be an account administrator.
-
accountId
,targetLicenseType
andresourceId
are required fields
Token usage: BlueXP user token.
Parameters
Name | Type | In | Required | Description |
---|---|---|---|---|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
Request Body
Name | Type | Required | Description |
---|---|---|---|
accountId |
string |
True |
|
targetLicenseType |
string |
True |
|
resourceId |
string |
True |
|
partnerResourceId |
string |
False |
Example request
{
"accountId": "string",
"targetLicenseType": "string",
"resourceId": "string",
"partnerResourceId": "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"
}
Response
Status: 5xx, 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"
}