Skip to main content

Get all User Authentication Password Profile Info

GET Get a list of User Authentication Password Profile Info

https://useast.api.elasticpath.com/v2/authentication-realms/:realm-id/user-authentication-info/:user-authentication-info-id/user-authentication-password-profile-info
note

You can use pagination with this resource. For more information, see pagination section.

Parameters

Path parameters

NameRequiredTypeDescription
realm-idRequiredstringThe ID for the authentication-realm containing the requested user-authentication-password-profile-info object.
user-authentication-info-idRequiredstringThe ID for the user-authentication-info object containing the requested user-authentication-password-profile-info object.

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe 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/user-authentication-password-profile-info/ \
-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.UserAuthenticationPasswordProfile.All(realmId, userAuthenticationInfoId, null)

Response Example

200 OK

    "meta": {
"page": {
"limit": 100,
"offset": 0,
"current": 1,
"total": 1
},
"results": {
"total": 2
}
},
"data": [
{
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/0358b12d-56a6-4b79-9b42-ad93f538f263/user-authentication-info/c3ce7aed-594c-4e68-b7c1-fbe020895e45/user-authentication-password-profile-info/b9170288-7896-486d-b5ea-d00fcadee1a4"
},
"id": "b9170288-7896-486d-b5ea-d00fcadee1a4",
"username": "john.doe1@gmail.com",
"meta": {
"created_at": "2021-07-19T15:42:10.073Z",
"updated_at": "2021-07-19T15:42:10.073Z"
},
"type": "user_authentication_password_profile_info",
"password_profile_id": "3293ce2a-819a-45b1-be0c-cf54a3b23526"
},
{
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/0358b12d-56a6-4b79-9b42-ad93f538f263/user-authentication-info/c3ce7aed-594c-4e68-b7c1-fbe020895e45/user-authentication-password-profile-info/95c190fb-ff06-4cae-a25e-988bce3bb426"
},
"id": "95c190fb-ff06-4cae-a25e-988bce3bb426",
"username": "john.doe@gmail.com",
"meta": {
"created_at": "2021-07-19T15:42:02.024Z",
"updated_at": "2021-07-19T15:42:02.024Z"
},
"type": "user_authentication_password_profile_info",
"password_profile_id": "3293ce2a-819a-45b1-be0c-cf54a3b23526"
}
],
"links": {
"next": null,
"current": "https://useast.api.elasticpath.com/v2/authentication-realms/0358b12d-56a6-4b79-9b42-ad93f538f263/user-authentication-info/c3ce7aed-594c-4e68-b7c1-fbe020895e45/user-authentication-password-profile-info?page%5Blimit%5D=100&page%5Boffset%5D=0",
"last": "https://useast.api.elasticpath.com/v2/authentication-realms/0358b12d-56a6-4b79-9b42-ad93f538f263/user-authentication-info/c3ce7aed-594c-4e68-b7c1-fbe020895e45/user-authentication-password-profile-info?page%5Blimit%5D=100&page%5Boffset%5D=0",
"prev": null,
"first": "https://useast.api.elasticpath.com/v2/authentication-realms/0358b12d-56a6-4b79-9b42-ad93f538f263/user-authentication-info/c3ce7aed-594c-4e68-b7c1-fbe020895e45/user-authentication-password-profile-info?page%5Blimit%5D=100&page%5Boffset%5D=0"
}
}