Retrieves account information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:GetAccountSettings |
get |
*All Resource
|
None | None |
Request syntax
GET /2021-04-06/account-settings HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| X-Fc-Account-Id |
string |
No |
The ID of your Alibaba Cloud account. |
188077086902**** |
| X-Fc-Date |
string |
No |
The time when the Function Compute API is called. The format is EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
The custom request ID. |
rid281s****** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned zone information. |
||
| availableAZs |
array |
The list of zones. |
|
|
string |
The zone. |
cn-hangzhou-f |
|
| defaultRole |
string |
The default service role. |
acs:ram::1234:role/aliyunfcdefaultrole |
Examples
Success response
JSON format
{
"availableAZs": [
"cn-hangzhou-f"
],
"defaultRole": "acs:ram::1234:role/aliyunfcdefaultrole"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.