メインコンテンツへスキップ
POST
Go

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

2 つ目のユーザーアカウントをリンクする対象のプライマリユーザーアカウントの ID。

ボディ

connection_id
string

複数の auth0 データベースプロバイダーが存在する場合に、リンクされるセカンダリ ユーザーアカウントの connection_id。

Pattern: ^con_[A-Za-z0-9]{16}$

リンクされるセカンダリ アカウントの JWT。このパラメーターを送信する場合、provideruser_idconnection_id は送信しないでください。

provider
enum<string>

リンクされるセカンダリ ユーザーアカウントの IDプロバイダー。

利用可能なオプション:
ad,
adfs,
amazon,
apple,
dropbox,
bitbucket,
auth0-oidc,
auth0,
baidu,
bitly,
box,
custom,
daccount,
dwolla,
email,
evernote-sandbox,
evernote,
exact,
facebook,
fitbit,
github,
google-apps,
google-oauth2,
instagram,
ip,
line,
linkedin,
oauth1,
oauth2,
office365,
oidc,
okta,
paypal,
paypal-sandbox,
pingfederate,
planningcenter,
salesforce-community,
salesforce-sandbox,
salesforce,
samlp,
sharepoint,
shopify,
shop,
sms,
soundcloud,
thirtysevensignals,
twitter,
untappd,
vkontakte,
waad,
weibo,
windowslive,
wordpress,
yahoo,
yandex
user_id
デフォルト:abc

リンクされるセカンダリユーザーアカウントのuser_id。

Minimum string length: 1

レスポンス

アイデンティティが正常に追加されました。

connection
string
デフォルト:twitter
必須

このアイデンティティの接続名。

provider
string
デフォルト:twitter
必須

IDプロバイダーの種別。

user_id
デフォルト:abc
必須

このアイデンティティのuser_id。

Minimum string length: 1
access_token
string

スコープ read:user_idp_tokens が定義されている場合に返される IdP アクセストークン。

access_token_secret
string

scope read:user_idp_tokens が定義されている場合にのみ返される IdP アクセストークンシークレット。

isSocial
boolean

このIDプロバイダーがソーシャルプロバイダーであれば true、そうでなければ false。

profileData
object
refresh_token
string

スコープ read:user_idp_tokens が定義されている場合にのみ返される IdP リフレッシュトークン。