Queries the status of the Alibaba Cloud DNS PrivateZone service under the current Alibaba Cloud account, for example, whether the service is enabled and whether the account has overdue payments.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeUserServiceStatus

The operation that you want to perform. Set the value to DescribeUserServiceStatus.

Lang String No en

The language.

UserClientIp String No 192.0.2.0

The IP address of the client.

Response parameters

Parameter Type Example Description
RequestId String 99626905-678A-4E8A-984E-6AEB09993996

The ID of the request.

Status String OPENED

The status of the Alibaba Cloud DNS PrivateZone service. Valid values:

  • CLOSED: indicates that the service is disabled.
  • OPENED: indicates that the service is enabled.
  • IN_DEBT: indicates that the current account has overdue payments.
  • IN_DEBT_OVER_DUE: indicates that overdue payments are not paid within the required period.

Examples

Sample requests


http://pvtz.aliyuncs.com/?Action=DescribeUserServiceStatus
&<Common request parameters>

Sample success responses

XML format

<DescribeUserServiceStatusResponse>
    <Status>OPENED</Status>
    <RequestId>9EA7F720-B7C0-45C1-9CF4-B6A5A1179B68</RequestId>
</DescribeUserServiceStatusResponse>

JSON format

{
	"Status":"CLOSED",
	"RequestId":"99626905-678A-4E8A-984E-6AEB09993996"
}

Error codes

For a list of error codes, visit the API Error Center.