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
|
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
|
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. |
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot