/mcpResponse Code: 204 Example 3: Update the Search Scope of a Directory Handler to Inherit Search Scope from Call The following is an example of the PUT request to update the search scope of directory handler to inherit search scope from call: Request URI: PUT https://<connection-server>/vmrest/handlers/directoryhandlers/<directoryHandlerObjectId> Request Body: <DirectoryHandler> <SearchScope>7</SearchScope> </DirectoryHandler> Response Code: 204 Example 4: Update the Search Scope of a Directory Handler to a Distribution List The following is an example of the PUT request to update the search scope of directory handler to a distribution list: PUT https://<connection-server>/vmrest/handlers/directoryhandlers/<directoryHandlerObjectId> Request Body: <DirectoryHandler> <SearchScope>4</SearchScope> <SearchScopeObjectId>0995fc34-6791-4d9a-b20f-52c8dadd65b5</SearchScopeObjectId> </DirectoryHandler> Response Code: 204 Example 5: Update the Search Scope of a Directory Handler to a Search Space To update the search scope of a directory handler to a search space, you must obtain the object ID of the search scope using the following URL: GET https://<connection-server>/vmrest/searchspaces The following is an example of the PUT request to update the search scope of directory handler to a search space: Request URI: PUT https://<connection-server>/vmrest/handlers/directoryhandlers/<directoryHandlerObjectId> Request Body: <DirectoryHandler> <SearchScope>6</SearchScope> <SearchScopeObjectId>1cdaa964-0514-4364-ad74-e55364efb4b4</SearchScopeObjectId> </DirectoryHandler> Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 534 Cisco Unity Connection Provisioning Interface (CUPI) API--Directory Handler APIs Updating the Search Scope of the Directory Handler