{ "authenticatedURL": "https://example.synap.ac?st=< SESSION TOKEN >" }
{ "message": "you do not have permission to perform this operation" }
{ "message": "you do not have permission to perform this operation" }
User
Attribute | Type | Required | Description |
string | yes | The user's email address |
curl --request POST \--url https://api-org.synap.ac/sso/login \--header 'content-type: application/json' \--header 'x-syn-org-id: org123test' \--header 'x-syn-org-secret: secret123test' \--header 'x-api-key: test123api' \--data '{"user": {"email": "[email protected]"}}'
{"user": {"email": "[email protected]"}}
200 OK{"authenticatedURL": "https://yourPortalURL.ac?st=r:123sessiontoken567""timestamp": "2020-03-30T10:05:16.754Z"}--403 Forbidden{"code": 403,"error": "Unauthorised request."}--401 Unauthorized{"code": 401,"error": "Object not found."}