Delete a subscription using the subscription ID
DELETE /license/account/{accountId}/subscription/{subscriptionId}
Deletes or disassociates a subscription that contains the specified subscription ID from an account.
The specified subscription must exist and not be associated with a Cloud Volumes ONTAP instance.
This endpoint deletes the subscription if no other account is associated with the subscription.
If more than one account is associated with the subscription, this endpoint disassociates the account provided in the accountId field and the subscription.
Token usage: NetApp Console service token.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
dwAudit |
boolean |
query |
False |
The NetApp Console audits, by default, all API calls. Note:
|
accountId |
string |
path |
True |
|
subscriptionId |
string |
path |
True |
|
X-Service-Request-Id |
string |
header |
False |
Request identifier |
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"
}