Skip to main content

Delete a subscription using the subscription ID

Deletes a subscription identified by the subscription ID. Use this to remove a subscription from an account or disassociate it when multiple accounts are linked to the subscription.

HTTP method and endpoint

DELETE /license/account/{accountId}/subscription/{subscriptionId}

Token usage

NetApp Console service token.

Usage notes

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.

Parameters

Name Type In Required Description

dwAudit

boolean

query

False

The NetApp Console audits, by default, all API calls.

Note:

  • To stop the NetApp Console from auditing a request, you can set the calling service to false.

  • dwAudit is an optional parameter, the default value is true.

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