All Products
Search
Document Center

Alibaba Cloud Service Mesh:ListServiceAccounts

Last Updated:Mar 05, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ServiceMeshIdstringYes

The ID of the Service Mesh (ASM) instance.

ce134b0727aa2492db69f6c3880e1****
ClusterIdstringYes

The ID of the cluster on the data plane.

ce3c25e247da24f3aab9b7edfae83****
NamespacestringNo

The namespace.

default

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF
ServiceAccountsobject []

The list of service accounts.

Namestring

The name of the service account.

bookinfo-reviews
Namespacestring

The namespace where the service account resides.

default

Examples

Sample success responses

JSONformat

{
  "RequestId": "8349374D-0F22-5CAB-9DE3-8CCE8EFA71FF",
  "ServiceAccounts": [
    {
      "Name": "bookinfo-reviews",
      "Namespace": "default"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.