Updated on 2026-04-03 GMT+08:00

Verifying Administrator Account Status

Function

This API is used to check whether the current account is an administrator account (organization administrator or delegated administrator).

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, no identity policy-based permission required for calling this API.

URI

GET /v5/setting/account/admin

Request Parameters

Table 1 Request header parameters

Parameter

Mandatory

Type

Description

X-Security-Token

No

String

Security token (session token) of your temporary security credentials. If a temporary security credential is used, this header is required.

X-Auth-Token

Yes

String

Definition

User token, which contains user identity and permissions. The token can be used for identity authentication when an API is called. For details about how to obtain the token, see Obtaining a User Token.

Constraints

N/A

Range

The value can contain 1 to 32,768 characters.

Default Value

N/A

region

No

String

Definition

Region ID, which is used to query assets in the required region. For details about how to obtain a region ID, see Obtaining a Region ID.

Constraints

N/A

Range

The value can contain 1 to 128 characters.

Default Value

N/A

Response Parameters

Status code: 200

Table 2 Response body parameters

Parameter

Type

Description

is_admin_account

Boolean

Administrator account

Example Requests

Check whether the current account is an administrator account (organization administrator or delegated administrator).

GET https://{endpoint}/v5/setting/account/admin

Example Responses

Status code: 200

Request succeeded.

{
  "is_admin_account" : true
}

Status Codes

Status Code

Description

200

Request succeeded.

Error Codes

See Error Codes.