getAuthenticationProfileById

Purpose

This API will return settings of an authentication profile based on the given authentication profile ID for viewing.

HTTP Method

GET

URL

https://app.infiniteblue.com/rest/api/getAuthenticationProfileById

URL Parameters

authProfileId

The authentication profile ID of the profile which has to be edited.

Permissions Required

Full administrative privileges.

Response

The authentication profile by Id for the tenant in XML format.

Sample XML output:

<?xml version="1.0" encoding="UTF-8" ?>
<resp status="ok">
<authenticationProfile>
<authProfileName>TEMPPROF</authProfileName>
<authProfileId>6bddbcb7-b565-4a57-8ae4-0323da8f0130</authProfileId>
<authType>2</authType>
<authDescription>HTTP POST</authDescription>
<defaultUIAuth>false</defaultUIAuth>
<defaultAPIAuth>false</defaultAPIAuth>
<targetURL>www.google.com</targetURL>
<headerKeys>[&quot;Content-Type&quot;,null,null,null,null,&quot;text\u002Fxml; charset=UTF-8&quot;]</headerKeys>
<headerValues>[null,null,null,null]</headerValues>
<responseText>Done</responseText>
</authenticationProfile>
</resp>

Sample invalid responses

{
"status": "fail",
"message": "Authentication profile with id: 6bddbcb7-b565-4a57-8sdfdfae4-0323da8f0130 does not exist"
}