Help Center/ Resource Governance Center/ API Reference/ APIs/ Internal/ Updates the status of the cloud service provided to the tenant.
Updated on 2025-10-24 GMT+08:00

Updates the status of the cloud service provided to the tenant.

Function

Cloud services interconnected with CBC: In scenarios where fee deduction fails due to insufficient tenant balance or yearly/monthly resources in an order expire, the cloud operation personnel trigger the update of the cloud service status (freezing, unfreezing, or deletion), and the cloud service performs corresponding operations on the instance. For example, if a tenant is in arrears, the cloud operation personnel freeze the cloud host, and the tenant cannot start the cloud host.

URI

PUT /v1/services/status/landingzone

Request Parameters

Table 1 Request body parameters

Parameter

Mandatory

Type

Description

resources

No

Array of ResourceInfos objects

Resource list

status

No

Integer

Status of a cloud service or resource instance. 0: unfrozen or normal; 1: frozen; 2: deleted or terminated.

effect

No

Integer

Main effects of the service

scene

No

String

Application scenario of a cloud service

Table 2 ResourceInfos

Parameter

Mandatory

Type

Description

resourceInfos

No

Array of ResourceInfoArray objects

Resource information list.

tenantId

No

String

TenantId

Table 3 ResourceInfoArray

Parameter

Mandatory

Type

Description

resourceType

No

String

Resource type, which must be globally unique. For example, the VM resource type is hws.resource.type.vm.

resourceId

No

String

Resource instance ID

Response Parameters

Status code: 200

Successful

None

Example Requests

None

Example Responses

None

Status Codes

Status Code

Description

200

Successful

Error Codes

See Error Codes.