Help Center/ Cloud Container Engine/ API Reference/ Out-of-Date APIs/ Cluster Management/ Releasing Cluster CBC Locks in Batches (To Be Discarded)
Updated on 2026-01-08 GMT+08:00

Releasing Cluster CBC Locks in Batches (To Be Discarded)

Function

This API is used to release cluster CBC locks in batches.

Calling Method

For details, see Calling APIs.

Authorization

Each account has all the permissions required to call all APIs, but IAM users must be assigned the required permissions.

  • If you are using role/policy-based authorization, see the required permissions in Permissions Policies and Supported Actions.
  • If you are using identity policy-based authorization, the permission listed below is required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    cce:cluster:checkLock

    Write

    -

    -

    -

    -

URI

PUT /v1/services/checklock/cce

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

Content-Type

Yes

String

Definition

The request body type or format

Constraints

GET requests are not validated.

Range

  • application/json

  • application/json;charset=utf-8

  • application/x-pem-file

  • multipart/form-data (used when the FormData parameter is present)

Default Value

N/A

X-Auth-Token

Yes

String

Definition

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.

Constraints

N/A

Range

N/A

Default Value

N/A

Table 2 Request body parameters

Parameter

Mandatory

Type

Description

resources

No

Array of resources objects

Definition

Resource information list

Constraints

N/A

Range

N/A

Default Value

N/A

Table 3 resources

Parameter

Mandatory

Type

Description

cloudServiceType

No

String

Definition

Cloud service type. The value is fixed at hws.service.type.cce.

Constraints

N/A

Range

N/A

Default Value

N/A

resourceType

No

String

Definition

Cloud service resource type. The value is fixed at hws.resource.type.cce.cluster.

Constraints

N/A

Range

N/A

Default Value

N/A

resourceId

No

String

Definition

Cluster ID

Constraints

N/A

Range

N/A

Default Value

N/A

Response Parameters

Status code: 200

The cluster CBC locks have been released.

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

The cluster CBC locks have been released.

Error Codes

See Error Codes.