go
cr, err := client.Tenancy.List(context.Background(), &v1.TenantListRequest{
PageSize: 20,
ContinuousToken: "",
})let res = client.tenancy.list({
pageSize: 20,
continuousToken: "",
})curl --location --request POST 'localhost:3476/v1/tenants/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"page_size": 20,
"continuous_token": ""
}'{
"tenants": [
{
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"continuous_token": "<string>"
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Tenancy Service
List Tenants
POST
/
v1
/
tenants
/
list
go
cr, err := client.Tenancy.List(context.Background(), &v1.TenantListRequest{
PageSize: 20,
ContinuousToken: "",
})let res = client.tenancy.list({
pageSize: 20,
continuousToken: "",
})curl --location --request POST 'localhost:3476/v1/tenants/list' \
--header 'Content-Type: application/json' \
--data-raw '{
"page_size": 20,
"continuous_token": ""
}'{
"tenants": [
{
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z"
}
],
"continuous_token": "<string>"
}{
"code": 123,
"message": "<string>",
"details": [
{
"@type": "<string>"
}
]
}Body
application/json
TenantListRequest is the message used for the request to list all tenants.
TenantListRequest is the message used for the request to list all tenants.