Updated on 2025-10-24 GMT+08:00

Deleting a Cloud Vendor Account

Function

This API is used to add a cloud vendor account. If the account is not required, you can delete it.

Authorization Information

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 Permissions Policies and Supported Actions for details on the required permissions.
  • If you are using identity policy-based authorization, the following identity policy-based permissions are required.

    Action

    Access Level

    Resource Type (*: required)

    Condition Key

    Alias

    Dependencies

    coc:vendorAccount:delete

    Write

    -

    -

    -

    -

URI

DELETE /v1/vendor-account/{id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

id

Yes

String

Definition:

Unique ID.

Constraints:

N/A

Value range:

N/A

Default value:

N/A

Request Parameters

None

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

data

String

Definition:

UUID allocated by COC-CMDB.

Value range:

N/A

Example Requests

This API is used to delete a cloud vendor account.

DELETE https://{Endpoint}/v1/vendor-account/{id}

Example Responses

Status code: 200

The cloud vendor account is deleted.

{ }

Status Codes

Status Code

Description

200

The cloud vendor account is deleted.

Error Codes

See Error Codes.