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

  • Make sure there are no spaces in the URL.

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

  • If the URL includes a dot (.), add a forward slash (/) at the end of the URL. For example: api/Safes/MySafe/Members/user@cyber.com/

 

 

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

Description

Authorization

The token that identifies the session, encoded in BASE 64. See Authentication.

Type: String

Mandatory: Yes

Default value: None

Body parameters

None.

Results

None.

Return codes

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