メインコンテンツへスキップ
GET
https://{tenantDomain}/api/v2
/
token-exchange-profiles
Go
package example

import (
    context "context"

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

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    request := &management.TokenExchangeProfilesListRequest{
        From: management.String(
            "from",
        ),
        Take: management.Int(
            1,
        ),
    }
    client.TokenExchangeProfiles.List(
        context.TODO(),
        request,
    )
}
{
  "next": "<string>",
  "token_exchange_profiles": [
    {
      "action_id": "<string>",
      "created_at": "2024-01-01T00:00:00.000Z",
      "id": "<string>",
      "name": "Token Exchange Profile 1",
      "subject_token_type": "<string>",
      "updated_at": "2024-01-01T00:00:00.000Z"
    }
  ]
}

承認

Authorization
string
header
必須

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

クエリパラメータ

from
string

取得を開始する位置を示す任意の id。

take
integer

ページごとの結果数。デフォルトは 50 です。

必須範囲: 1 <= x <= 100

レスポンス

Token Exchange Profile を正常に取得しました。

next
string

結果の次のページの from クエリパラメーターで使用する不透明な識別子。
この識別子は 24 時間有効です。

token_exchange_profiles
object[]