This operation retrieves a list of all service accounts.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
servicemesh:ListServiceAccounts |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceMeshId |
string |
Yes |
The ID of the service mesh. |
ce134b0727aa2492db69f6c3880e1**** |
| ClusterId |
string |
Yes |
The ID of the data plane cluster. |
ce3c25e247da24f3aab9b7edfae83**** |
| Namespace |
string |
No |
The namespace. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The ID of the request. |
8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF |
| ServiceAccounts |
array<object> |
A list of service accounts. |
|
|
object |
A service account in the list. |
||
| Name |
string |
The name of the service account. |
bookinfo-reviews |
| Namespace |
string |
The namespace of the service account. |
default |
Examples
Success response
JSON format
{
"RequestId": "8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF",
"ServiceAccounts": [
{
"Name": "bookinfo-reviews",
"Namespace": "default"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.