McDewey

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

Page 667

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

The output for this request returns the successful response code. JSON Example The following is an example of the PUT command that will update a partition: PUT https://<connection-server>/vmrest/partitions/<PartitionObjectId> Accept: applciation/json Content_type: application/json Connection: keep_alive Request Body: { "Name": "Test123", "Description": "Hello" } The following is the example of the response from the above *PUT * request: Response Code: 204 Deleting a Partition The following is an example of the DELETE request that deletes a specific partition where you need to mention the partition object ID: You are not allowed to delete a default search space if a partition is referred in a search space, or referred by a user. Note Response Code: 204 The output for this request returns the successful response code. JSON Example The following is an example of the DELETE command that will delete a partition: DELETE https://<connection-server>/vmrest/partitions/<PartitionObjectId> Accept: applciation/json Connection: keep_alive Response Code: 204 Deleting a Partition Included in Search Scope Make sure to add the partition to a search space. The following is an example of the DELETE request that deletes a specific partition which is included in a search scope: Delete https://<connection-server>/vmrest/partitions/<PartitionObjectId> Response Code: 204 JSON Example The following is an example to delete a partition included in a search scope: Cisco Unity Connection Provisioning Interface (CUPI) API 635 Cisco Unity Connection Provisioning Interface (CUPI) API for Dial Plan Deleting a Partition

Image 1 from page 667