Skip to main content
POST
C#

承認

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>

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

利用可能なオプション:
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

レスポンス

ID情報が正常に追加されました。

connection
string
デフォルト:twitter
必須

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

provider
string
デフォルト:twitter
必須

アイデンティティプロバイダーの種別。

user_id
デフォルト:abc
必須

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

Minimum string length: 1
access_token
string

scope read:user_idp_tokens が定義されている場合に返されるIDP access token。

access_token_secret
string

scope read:user_idp_tokens が定義されている場合にのみ返されるIDP access token secret。

isSocial
boolean

このアイデンティティプロバイダーがsocial providerであるかどうか(true の場合ははい、false の場合はいいえ)。

profileData
object
refresh_token
string

scope read:user_idp_tokens が定義されている場合にのみ返されるIDP refresh token。