Add Embedded Identity Source

Add Embedded Identity Source

Add an identity source to an embedded IDP by id, if it exists

Request
URI
POST
https://sfo-vcf01.rainpole.io/v1/identity-providers/{id}/identity-sources
COPY
Path Parameters
string
id
Required

ID of Identity Provider


Request Body
IdentitySourceSpec of type(s) application/json
Optional

Show optional properties

{
    "ldap": {
        "domainName": "string",
        "password": "string",
        "sourceDetails": {
            "groupsBaseDn": "string",
            "serverEndpoints": [
                {}
            ],
            "usersBaseDn": "string"
        },
        "type": "One among: OpenLdap, ActiveDirectory",
        "username": "string"
    },
    "name": "string"
}
{
    "ldap": {
        "domainAlias": "string",
        "domainName": "string",
        "password": "string",
        "sourceDetails": {
            "certChain": [
                "string"
            ],
            "groupsBaseDn": "string",
            "serverEndpoints": [
                "string"
            ],
            "usersBaseDn": "string"
        },
        "type": "One among: OpenLdap, ActiveDirectory",
        "username": "string"
    },
    "name": "string"
}
ldap
Required

The LDAP specification when the protocol is LDAP

string
name
Required

The user-friendly name for the identity Source

Responses
200

OK

Operation doesn't return any data structure

204

No content

Operation doesn't return any data structure

400

Bad Request

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


404

Identity Provider not found

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message


500

Internal server error

Returns Error of type(s) */*
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message