Querying the Template Information of an Enrolled Account
Function
This API is used to query the template information of an enrolled account in an organization.
URI
GET https://{endpoint}/v1/managed-organization/managed-accounts/{managed_account_id}/blueprint
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
managed_account_id |
Yes |
String |
ID of an enrolled account. |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
manage_account_id |
String |
Management account ID. |
account_id |
String |
ID of an enrolled account. |
account_name |
String |
Name of an enrolled account. |
blueprint_product_id |
String |
Template ID. |
blueprint_product_name |
String |
Template name. |
blueprint_product_version |
String |
Template version. |
blueprint_status |
String |
Template deployment status. It can be failed, completed, or processing. |
blueprint_product_impl_type |
String |
How the template is implemented. |
blueprint_product_impl_detail |
String |
Template details. |
Status code: 403
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
request_id |
String |
Unique ID of the request. |
encoded_authorization_message |
String |
Encrypted error message. |
details |
Array of ForbiddenErrorDetail objects |
Error message indicating no permissions for cross-service invoking. |
Example Requests
Querying the template information of an enrolled account in an organization
GET https://{endpoint}/v1/managed-organization/managed-accounts/{managed_account_id}/blueprint
Example Responses
Status code: 200
Request succeeded.
{ "manage_account_id" : "string", "account_id" : "string", "account_name" : "string", "blueprint_product_id" : "string", "blueprint_product_name" : "string", "blueprint_product_version" : "string", "blueprint_status" : "string", "blueprint_product_impl_type" : "string", "blueprint_product_impl_detail" : "jsonString" }
Status Codes
Status Code |
Description |
---|---|
200 |
Request succeeded. |
403 |
No permissions. |
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