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

Obtaining Trusted Service Statuses

Function

This API is used to retrieve the status of a trusted service.

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/trusted-services

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

Response Parameters

Status code: 200

Table 2 Response header parameters

Parameter

Type

Description

X-request-id

String

Definition

This field is the request ID used for task tracking.

The format is request_uuid-timestamp-servername.

Range

The value can contain 1 to 256 characters.

Table 3 Response body parameters

Parameter

Type

Description

trusted_services_enabled

Boolean

Definition

Trustworthy service status.

Range

  • true: yes

  • false: no

Example Requests

Obtain the trusted service status.

GET https://{endpoint}/v5/{project_id}/setting/account/trusted-services

Example Responses

Status code: 200

Obtain the trusted service status.

{
  "trusted_services_enabled" : true
}

Status Codes

Status Code

Description

200

Obtain the trusted service status.

Error Codes

See Error Codes.