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": {
    "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,
    "User": {
      "DNs": [
        "string"
      ],
      "DisplayAttribute": "string",
      "Filter": "string",
      "IDAttribute": "string",
      "Scope": "string"
    }
  },
  "ConfigId": "string"
}

Response Example (200)

Response Type /definitions/entExternalDirectoryResponse

{
  "Success": true
}
Auto generated by Pydio Cells Enterprise Distribution v2.0.0 on 5-Nov-2019
Back to top