Queries details of the active tenant.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetUserActiveTenant |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. You can call the GetUserActiveTenant operation to query the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Tenant |
object |
The details of the tenant. |
|
| Status |
string |
The status of the tenant. Valid values:
|
ACTIVE |
| Tid |
integer |
The ID of the tenant. |
3*** |
| TenantName |
string |
The name of the tenant. |
test_name |
| RequestId |
string |
The ID of the request. |
4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2 |
| ErrorCode |
string |
The error code. |
TenantNotExist |
| ErrorMessage |
string |
The error message. |
The specified tenant does not exist. |
| Success |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"Tenant": {
"Status": "ACTIVE",
"Tid": 0,
"TenantName": "test_name"
},
"RequestId": "4B63CAC5-BD7F-5C7C-82C9-59DFFBC3C5C2",
"ErrorCode": "TenantNotExist",
"ErrorMessage": "The specified tenant does not exist.",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.