Add Embedded Identity Source
Add an identity source to an embedded IDP by id, if it exists
ID of Identity Provider
Show optional properties
{
"name": "string",
"ldap": {
"type": "One among: OpenLdap, ActiveDirectory",
"domainName": "string",
"username": "string",
"password": "string",
"sourceDetails": {
"usersBaseDn": "string",
"groupsBaseDn": "string",
"serverEndpoints": [
{}
]
}
}
}
{
"name": "string",
"ldap": {
"type": "One among: OpenLdap, ActiveDirectory",
"domainName": "string",
"domainAlias": "string",
"username": "string",
"password": "string",
"sourceDetails": {
"usersBaseDn": "string",
"groupsBaseDn": "string",
"certChain": [
"string"
],
"serverEndpoints": [
"string"
]
}
}
}
The user-friendly name for the identity Source
The LDAP specification when the protocol is LDAP
No content
Bad Request
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Identity Provider not found
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
Internal server error
"Error Object"
The minor error code
The error type
The arguments used to localize the message, Can be used by scripts to automate the error processing.
The error context (e.g. the component where it occurred).
The localized error message
The localized remediation error message
The underlying cause exceptions.
A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"ldap:"object","name:"string"}' https://{api_host}/v1/identity-providers/{id}/identity-sources