MyAccount API
TypeScript
import { MyAccountClient } from "github.com/auth0/myaccount-js"; async function main() { const client = new MyAccountClient({ token: "<token>", }); await client.connectedAccounts.list({ connection: "connection", from: "from", take: 1, }); } main();
{ "accounts": [ { "id": "<string>", "connection": "<string>", "access_type": "offline", "scopes": [ "<string>" ], "created_at": "2023-11-07T05:31:56Z", "expires_at": "2023-11-07T05:31:56Z" } ], "next": "<string>" }
Bearer and DPoP tokens are supported depending on the API configuration
Filter connected accounts by connection names
128
Cursor for pagination - start retrieving results from this point
Number of results to return (1-20)
x >= 1
Successfully retrieved connected accounts
20
Show child attributes
The token to retrieve the next page of connected accounts (if there is one)
このページは役に立ちましたか?