System Management/Single Sign-On Server Interfaces
PUTSingle Sign-On Server InterfacesSince 4.3.0SynchronousAuth Required
Update LDAP Server
Update LDAP Server
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
ldapServerUuidStringRequiredUUID of the LDAP server
Body Fields
nameStringResource name
descriptionStringDetailed description of the resource
urlStringAccess URL of the LDAP server
baseStringQuery BaseDN of the LDAP server
usernameStringUsername for accessing the LDAP server
Responses
Endpoint
PUT/zstack/v1/ldap/servers/{ldapServerUuid}
/zstack/v1/ldap/servers/{ldapServerUuid}
Request Example
curl -X PUT 'http://{host}/zstack/v1/ldap/servers/{ldapServerUuid}' -H 'Authorization: OAuth {sessionUuid}' -H 'Content-Type: application/json;charset=UTF-8' -d '{"name":"<name>","description":"<description>","url":"<url>","base":"<base>","username":"<username>","password":"<password>","encryption":"<encryption>","systemTags":["<systemTags>"],"userTags":["<userTags>"],"serverType":"<serverType>","usernameProperty":"<usernameProperty>","filter":"<filter>","syncCreatedAccountStrategy":"<syncCreatedAccountStrategy>","syncDeletedAccountStrategy":"<syncDeletedAccountStrategy>"}'
Response Example
200{ "inventory": { "uuid": "5c502802c9633f4398e9f286d8187f49", "name": "new name", "description": "miao desc", "url": "ldap://localhost:1888", "base": "dc\u003dexample,dc\u003dcom", "username": "", "password": "", "encryption": "None" } }Change History
This API has no change history records yet.
