Feature Pack 5Feature Pack 6Feature Pack 4

Authenticate using LTPA token

The following example shows how to authenticate a registered user using a LTPA token.

Request


POST /wcs/resources/store/10101/ltpaidentity HTTPS/1.1
Host: wcstestserver.raleigh.ibm.com
Content-Type: application/json

{
  "LTPAToken" : "xxxxxxxxxxxxxxxxxxx"
}

Response


HTTPS/1.1 201 Created
Content-Type: application/json

{
   "WCToken": "xxxxxxxxxxxxxxxxxxxxxxx",
   "WCTrustedToken": "xxxxxxxxxxxxxxxxxxxxxxxxx"
   "personalizationID": "1320464310491-2",
   "userId": "1003"
}