Skip to main content

Delete a subscription

Contributors

DELETE /license/subscriptions/account/{accountId}

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: Either a BlueXP user token or service token.

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

subscriptionId

string

True

Example request
{
  "subscriptionId": "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"
}