Reorder directory mappings

This method modifies the order of all mappings that belong to a certain directory.

Modifying the order of the mappings changes their priority.

To run this Web service, you must be a member of the Vault Admins group and have the following permissions:

  • Audit users
  • Add/Update users
  • Manage Directory mappings

URL

 

Make sure there are no spaces in the URL.

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

 

 
https://<IIS_Server_Ip>/PasswordVault/api/Configuration/LDAP/Directories/{DirectoryName}/Mappings/Reorder

The following mandatory value is required in the URL:

Parameter

Description

DirectoryName

The name of the directory you want to reorder.

Type: string

Resource information

HTTP method

POST

Content type

application/json

Header parameter

Parameter

Authorization

Type

String

Description

The token that identifies the session.

Body parameters

 
{
"MappingsOrder": [<mapping id 1>, <mapping id 2>, ..., <mapping id n> ]
}

 

Parameter

Description

mappingsOrder

(Mandatory) The new order of the mappings, sorted by importance.

Must include all mappings.

Each ID can only appear once.

Type: Array of IDs

Result

None

Return codes

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