Create an account link (v2)

Creates a single account link for the specified clientId. The target authId must exist under that client. Fails if a primary link already exists for the same sourceSystemId and secondary=false.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
Body Params

Request body for creating, updating, or deleting an account link. For delete only authId, sourceSystemId, and sourceSystemUserId are read; other fields are ignored.

Headers
Responses

400

Validation error, or one of:

  • account_link_exists if an identical link already exists.
  • auth_id_already_linked if the authId is already linked to the same source system as a primary and secondary=false.
401

Missing or invalid credentials.

403

Caller authenticated but lacks the required role.

404

The authId does not exist under the specified clientId.

500

Unexpected server error.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json