メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
connections
/
{id}
/
clients
Go
package example

import (
    context "context"

    management "github.com/auth0/go-auth0/management/management"
    client "github.com/auth0/go-auth0/management/management/client"
    connections "github.com/auth0/go-auth0/management/management/connections"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    request := &connections.GetConnectionEnabledClientsRequestParameters{
        Take: management.Int(
            1,
        ),
        From: management.String(
            "from",
        ),
    }
    client.Connections.Clients.Get(
        context.TODO(),
        "id",
        request,
    )
}
{
  "clients": [
    {
      "client_id": "<string>"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

パスパラメータ

id
string
必須

有効なクライアントを取得する対象の接続の id

クエリパラメータ

take
integer

1 ページあたりの結果数。既定値は 50 です。

必須範囲: 1 <= x <= 1000
from
string

選択を開始する位置を示す省略可能な id。

Maximum string length: 1000

レスポンス

成功

clients
object[]
必須

この接続が有効になっているクライアント

next
string

エンコードされた次のトークン