PUT /a/config/directories/{ConfigId}
[Enterprise Only] Add/Create an external directory
Body Parameters
Name | Description | Type | Required |
---|---|---|---|
Config | LDAP or Active Directory configuration | #/definitions/authLdapServerConfig | |
ConfigId | Id of the external directory | string |
Body Example
{
"Config": {
"BindAnonymous": true,
"BindDN": "string",
"BindPW": "string",
"ConfigId": "string",
"Connection": "string",
"DomainName": "string",
"Host": "string",
"MappingRules": [
{
"LeftAttribute": "string",
"RightAttribute": "string",
"RolePrefix": "string",
"RuleString": "string"
}
],
"MemberOfMapping": {
"GroupFilter": {
"DNs": [
"string"
],
"DisplayAttribute": "string",
"Filter": "string",
"IDAttribute": "string",
"Scope": "string"
},
"Mapping": {
"LeftAttribute": "string",
"RightAttribute": "string",
"RolePrefix": "string",
"RuleString": "string"
},
"PydioMemberOfAttribute": "string",
"PydioMemberOfValueFormat": "string",
"RealMemberOf": true,
"RealMemberOfAttribute": "string",
"RealMemberOfValueFormat": "string",
"SupportNestedGroup": true
},
"PageSize": 10,
"RolePrefix": "string",
"RootCA": "string",
"RootCAData": "string",
"Schedule": "string",
"SchedulerDetails": "string",
"SkipVerifyCertificate": true,
"SyncOnly": true,
"User": {
"DNs": [
"string"
],
"DisplayAttribute": "string",
"Filter": "string",
"IDAttribute": "string",
"Scope": "string"
}
},
"ConfigId": "string"
}
Response Example (200)
Response Type /definitions/entExternalDirectoryResponse
{
"Success": true
}