Memos
User Service

Create Linked Identity

CreateLinkedIdentity links an SSO identity to the authenticated user.

POST
/api/v1/users/{user}/linkedIdentities

Path Parameters

user*string

The user id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/api/v1/users/string/linkedIdentities" \  -H "Content-Type: application/json" \  -d '{    "parent": "string",    "idpName": "string",    "code": "string",    "redirectUri": "string"  }'
{
  "name": "string",
  "idpName": "string",
  "externUid": "string"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}

On this page

No Headings