Skip to main content
A newer release of this product is available.

Delete a license

Contributors

DELETE /cluster/licensing/licenses/{name}

Introduced In: 9.6

Deletes a license.

  • system license delete

Parameters

Name Type In Required Description

name

string

path

True

Name of the license package to delete.

serial_number

string

query

True

Serial number of the license to delete.

Response

Status: 200, Ok

Error

Status: Default

ONTAP Error Response Codes

Error Code Description

525028

Error during volume limit check, cannot remove license

525029

Current volume use will exceed limits if license is removed

1115137

Cluster license requires a base license to be installed

1115144

Cloud licenses cannot be deleted

1115178

A tier license that is still in use cannot be deleted

1115213

License is still in use and cannot be removed

1115406

Capacity pool licenses cannot be deleted

1115564

Package is part of a NLFv2 license and cannot be removed individually

66846823

A FlexCache license that is still in use cannot be deleted

Also see the table of common errors in the Response body overview section of this documentation.

Name Type Description

error

returned_error

Example error
{
  "error": {
    "arguments": [
      {
        "code": "string",
        "message": "string"
      }
    ],
    "code": "4",
    "message": "entry doesn't exist",
    "target": "uuid"
  }
}

Definitions

See Definitions

error_arguments

Name Type Description

code

string

Argument code

message

string

Message argument

returned_error

Name Type Description

arguments

array[error_arguments]

Message arguments

code

string

Error code

message

string

Error message

target

string

The target parameter that caused the error.