Queries the status of the Tag Policy feature.
Operation description
This topic provides an example on how to call the API operation to query the status of the Tag Policy feature for the current logon account. The response shows that the Tag Policy feature in multi-account mode is enabled for the current logon account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. Set the value to cn-shanghai. | cn-shanghai |
UserType | string | No | The mode of the Tag Policy feature. This parameter specifies a filter condition for the query. Valid values:
For more information about the modes of the Tag Policy feature, see Modes of the Tag Policy feature. Note
The value of this parameter is not case-sensitive.
| RD |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "6C8DF1B1-C65F-5D3A-9FDA-26A4683BB36B",
"StatusModels": [
{
"UserType": "RD",
"Status": "Enabled"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.