メインコンテンツへスキップ
GET
https://{host}/me/v1
/
connected-accounts
/
accounts
C#
using Auth0Auth0;
using System.Threading.Tasks;

namespace Usage;

public class Example
{
    public async Task Do() {
        var client = new Auth0Auth0Client(
            token: "<token>"
        );

        await client.ConnectedAccounts.ListAsync(
            new ListConnectedAccountsRequestParameters {
                Connection = "connection",
                From = "from",
                Take = 1
            }
        );
    }

}
{
  "accounts": [
    {
      "id": "<string>",
      "connection": "<string>",
      "access_type": "offline",
      "scopes": [
        "<string>"
      ],
      "created_at": "2023-11-07T05:31:56Z",
      "expires_at": "2023-11-07T05:31:56Z",
      "org_id": "<string>"
    }
  ],
  "next": "<string>"
}

承認

Authorization
string
header
必須

Bearer and DPoP tokens are supported depending on the API configuration

クエリパラメータ

connection

Filter connected accounts by connection names

Maximum string length: 128
from
string

Cursor for pagination - start retrieving results from this point

take
integer
デフォルト:10

Number of results to return (1-20)

必須範囲: x >= 1

レスポンス

Successfully retrieved connected accounts

accounts
object[]
必須
Maximum array length: 20
next
string

The token to retrieve the next page of connected accounts (if there is one)