Updated on 2023-11-27 GMT+08:00

Deleting a Cluster (Discarded)

Function

This API is used to delete a specified cluster.

This API has been discarded and is not recommended.

URI

  • URI format

    DELETE /v2.0/{project_id}/clusters/{cluster_name}

  • Parameter description
    Table 1 URI parameters

    Parameter

    Mandatory

    Description

    project_id

    Yes

    Project ID, which is used for resource isolation. For details about how to obtain its value, see Obtaining a Project ID.

    cluster_name

    Yes

    Cluster name.

Request

None

Response

  • Return code

    Code 200 is returned if the operation is successful.

  • Response parameters

    None

Example

  • Example request
    None
  • Example response (successful request)
    None

    If an error occurs when this API is invoked, the system does not return the result similar to the preceding example, but returns the error code and error information. For details, see Error Codes.