Identity Providers
Domains
Create or update an identity provider
Idempotent create-or-update. Uses the key field in the body to identify the identity provider within the domain. On first apply the identity provider is created; subsequent applies update it. The system flag is immutable; changing it requires deleting and recreating the identity provider.
put/organizations/{orgId}/environments/{envId}/domains/{domainKey}/identities
Path parameters
orgIdstring required
Identifier of the organization that owns the environment.
envIdstring required
Identifier of the environment the domain belongs to.
domainKeystring required
Key of the domain: its stable, immutable Automation identifier within the environment.
Request body
Example request
{
"configuration": "{\"users\":[{\"username\":\"admin\",\"password\":\"...\"}]}",
"domainWhitelist": [
"example.com"
],
"key": "corporate-ldap",
"mappers": {
"email": "email",
"sub": "username"
},
"name": "Corporate LDAP",
"type": "inline-am-idp"
}Response
The created or updated identity provider
Example response
{
"configuration": "{\"users\":[{\"username\":\"admin\",\"password\":\"...\"}]}",
"domainWhitelist": [
"example.com"
],
"key": "corporate-ldap",
"mappers": {
"email": "email",
"sub": "username"
},
"name": "Corporate LDAP",
"type": "inline-am-idp"
}