Delete directory mapping

This method deletes a specific directory mapping.

To run this method you must:

  • Be a member of Vault Admin group and have the Manage Directory Mapping authorization.
  • Have at least all the authorizations that the mapping has.
 

After a mapping is deleted, LDAP users created in the Vault and are mapped to this mapping, are automatically deleted from the Vault during the next periodic LDAP sync. For details, see Synchronize External Users and Groups in the Vault with the External Directory

URL

 

The following characters are not supported in URL values: + & %

 

 

https://<IIS_Server_Ip>/PasswordVault/api/Configuration/LDAP/Directories/{directoryName}/Mappings/{mappingID}

The following mandatory parameters are required in the URL:

Name

Description

directoryName

The directory name.

mappingID

The Mapping ID to delete.

Resource Information

HTTP method

DELETE

Content type

application/json

Header parameter

Parameter

Authorization

Type

String

Description

The token that identifies the session.

Valid values

A session token that was returned from the “Logon” method.

Body parameters

None.

Results

None.

Return codes

For a complete list of return codes, see Return Codes.