Skip to main content

Delete a subscription

Contributors

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

Deletes or dissociates a subscription containing a specified subscription ID from an account.

The specified subscription must exist and not be associated with a Cloud Volumes ONTAP instance.
It 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 accountId and the subscription.

Token usage: BlueXP service token.

Parameters

Name Type In Required Description

dwAudit

boolean

query

False

BlueXP digital wallet audits, by default, all API calls.

Note:

  • To stop BlueXP digital wallet 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"
}