Add LDAP Integration Settings
POST/api/v31.02/settings/ldap
x-prisma-cloud-target-env: {"permission":"authConfiguration","saas":false,"self-hosted":true}
x-public: true
Configures the LDAP integration.
For more information, see Active Directory and OpenLDAP
cURL Request
Refer to the following example cURL command that enables the LDAP integration and specifies the parameters required to integrate with an Active Directory service.
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X POST \
-d \
'{
"enabled": true,
"url": "ldap://ldapserver.example.com:3268",
"searchBase": "dc=example,dc=com",
"accountUpn": "example_service@example.com",
"accountPassword": {
"plain": "pass!-W0RD"
},
"type": "activedirectory",
"userSearchIdentifier": "userprincipalname"
}' \
"https://<CONSOLE>/api/v<VERSION>/settings/ldap"
Request
Responses
- 200
- default
OK