Skip to main content

Get an Authentication Realm

GET Get by ID

https://useast.api.elasticpath.com/v2/authentication-realms/:id

Parameters

Path parameters

NameRequiredTypeDescription
idRequiredstringThe ID for the requested authentication-realm.

Headers

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

Request Example

curl -X GET https://useast.api.elasticpath.com/v2/authentication-realms/:id \
-H "Authorization: Bearer XXXX" \

Response Example

200 OK

{
"data": {
"id": "40086652-2779-45f0-8ea6-ae630dfd13cb",
"meta": {
"created_at": "2020-11-04T21:28:50.796Z",
"updated_at": "2020-11-04T21:28:50.796Z"
},
"name": "Test Authentication Realm",
"redirect_uris": [
"https://example.com"
],
"relationships": {
"origin": {
"data": {
"id": "88888888-4444-4333-8333-111111111111",
"type": "customer-authentication-settings"
}
}
},
"duplicate_email_policy": "allowed",
"type": "authentication-realm"
},
"links": {
"self": "https://useast.api.elasticpath.com/v2/authentication-realms/40086652-2779-45f0-8ea6-ae630dfd13cb"
}
}