McDewey

Multi-vendor documentation library · semantic search · MCP endpoint at /mcp

Page 674

↗ View in doc context
page
674
source
unity-connection/rest-api/cupi/cupi.md
chunk_id
unity-connection::rest-api::cupi::cupi::638

Request URI: PUT https://<connection-server>/vmrest/searchspaces/seacrchspaceobjectid/ Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "Name": "Taxoma_SearchSpace", "Description": "Default search space for taxoma" } The following is the response from the above PUT request and the actual response will depend upon the information given by you: Response Code: 204 Deleting the Search Space The following is an example of the DELETE request that deletes a specific search space where you need to mention the search space object ID: DELETE https://<connection-server>/vmrest/searchspaces/<seacrchspaceobjectid> Response Code: 204 You are not allowed to delete a default search space or if a search space that has been assigned to any user, call handler or a routing rule. The output for this request returns the successful response code. Note JSON Example To delete a search space, use the following command: DELETE: https://<connection-server>/vmrest/searchspaces/<seacrchspaceobjectid > Accept: application/json Connection: keep_alive Response Code: 204 Deleting the Search Space Members The following is an example of the DELETE request that deletes a specific search space member where you need to mention the search space members object ID: DELETE https://<connection-server>/vmrest/searchspaces/<seacrchspaceobjectid> /searchspacemembers/<searchspacememberobjectid> Response Code: 204 JSON Example To delete a search space member, use the following command: Cisco Unity Connection Provisioning Interface (CUPI) API 642 Cisco Unity Connection Provisioning Interface (CUPI) API for Dial Plan Deleting the Search Space

Image 1 from page 674