Authentication/
Single Sign-on/
Password Profiles API/
Get a Password Profile

Get a Password Profile

GET Get by ID

https://api.moltin.com/v2/authentication-realms/:realm-id/password-profiles/:profile-id

Parameters

Path parameters

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

Headers

NameRequiredTypeDescription
AuthorizationRequiredstringThe Bearer token required to get access to the API.

Request Examples

Curl

curl -X GET https://api.moltin.com/v2/authentication-realms/:realm-id/password-profiles/:profile-id \
     -H "Authorization: Bearer XXXX" \

JavaScript SDK

const MoltinGateway = require('@moltin/sdk').gateway
const Moltin = MoltinGateway({
  client_id: 'X'
})
const realmId = 'XXXX'
const profileId = 'XXXX'
Moltin.PasswordProfile.Get({
      realmId,
      profileId
    }
  )

Response Example

200 OK

{
    "data": {
        "meta": {
            "created_at": "2021-06-03T21:12:14.896Z",
            "updated_at": "2021-06-03T21:12:14.896Z"
        },
        "type": "password_profile",
        "id": "0a6f5f8a-3a61-4ad1-9ea1-60fd1aa71243",
        "username_format": "email",
        "name": "password profile"
    },
    "links": {
        "self": "http://api.moltin.com/v2/authentication-realms/c624ab3d-44f0-49cc-bff7-446ff39a24f0/password-profiles/0a6f5f8a-3a61-4ad1-9ea1-60fd1aa71243"
    }
}

Was this helpful?

Previous
Get all Password Profiles

Learn

Docs