Create or update an identity provider
Changed onIdempotent 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. When dryRun is true, the endpoint validates the payload without persisting; the returned identity provider carries a dryRunErrors list (empty on success, populated with validation errors otherwise).
Request
- Base URLhttp://localhost:8093/automation
- URLhttp://localhost:8093/automation/organizations/{orgId}/environments/{envId}/domains/{domainKey}/identities
- AuthHTTP bearer
Path parameters
Identifier of the organization that owns the environment.
Identifier of the environment the resource belongs to.
Key of the domain: its stable, immutable Automation identifier within the environment.
Query parameters
When true, validates the payload without persisting. The returned identity provider includes a dryRunErrors field.
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. When dryRun is true the identity provider includes a dryRunErrors field with any validation errors.
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"
}Changes
- info
added the new optional
queryrequest parameterdryRun - info
the
request property default valuewas added - info
the
request property default value{}was added - info
the
request property default value{}was added - info
the
request property default value{}was added - info
added the optional property
to the response with the status - info
the
response's property default valuewas added for the status - info
the
response's property default value{}was added for the status - info
the
response's property default value{}was added for the status - info
the
response's property default value{}was added for the status
- info