Link federated user to parent user.
POST/user/federated/linkFederated
Link federated user to parent user.
Request
- application/json
Body
accessToken stringrequired
Federated user access token
provider stringrequired
Possible values: [discord
, facebook
, google
, twitch
, twitter
, ultra
]
Federated provider
Responses
- 200
- 400
- 401
- 403
- default
Get user info from the access token.
- application/json
- Schema
- Example (from schema)
Schema
sub string
property name* any
{
"sub": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Bad Request"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...