Deleting an Add-on Instance

Function

This API is used to delete an add-on instance.

The URL for add-on management is in the format of https://{clusterid}.Endpoint/uri. In the URL, {clusterid} indicates the cluster ID, and uri indicates the resource path, that is, the path for API access.

URI

DELETE /api/v3/addons/{id}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

id

Yes

String

Add-on instance ID.

Minimum: 1

Maximum: 255

Table 2 Query parameters

Parameter

Mandatory

Type

Description

cluster_id

Yes

String

Cluster ID. For details about how to obtain the cluster ID, see How to Obtain Parameters in the API URI.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Message body type (format).

Default: application/json

X-Auth-Token

Yes

String

Requests for calling an API can be authenticated using either a token or AK/SK. If token-based authentication is used, this parameter is mandatory and must be set to a user token. For details about how to obtain a token, see Authentication.

Maximum: 16384

Response Parameters

None

Example Requests

None

Example Responses

Status code: 200

OK

{
  "string" : "string"
}

Status Codes

Status Code

Description

200

OK

Error Codes

See Error Codes.