Get a User Authentication Info
GET
Get by ID
https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id
Parameters
Path parameters
Name | Required | Type | Description |
---|---|---|---|
realm-id | Required | string | The ID for the authentication-realm containing the requested user_authentication_info object. |
user-authentication-info-id | Required | string | The ID for the requested user-authentication-info object. |
Headers
Name | Required | Type | Description |
---|---|---|---|
Authorization | Required | string | The Bearer token required to get access to the API. |
Request Examples
Curl
curl -X GET https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id \
-H "Authorization: Bearer XXXX" \
JavaScript SDK
const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
client_id: 'X'
})
const realmId = 'XXXX'
const userAuthenticationInfoId = 'XXXX'
Moltin.UserAuthenticationInfo.Get({
realmId,
userAuthenticationInfoId
}
)
Response Example
200 OK
{
"data": {
"id": "787af9a4-83e1-4216-bc60-df076daef0c5",
"name": "John Doe",
"email": "john.doe@banks.com",
"meta": {
"created_at": "2021-06-02T18:44:07.617Z",
"updated_at": "2021-06-02T18:44:07.617Z",
"creation_status": "COMPLETE"
},
"type": "user_authentication_info"
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/b6cf44b5-5d52-46b8-ae6f-7f28847fb269/user-authentication-info/787af9a4-83e1-4216-bc60-df076daef0c5"
}
}