McDewey

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

Page 708

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

• To change the sequence of restriction patterns GET the object id of restriction patterns and arrange them in the required sequence. • To change the sequence of restriction patterns through API, you must provide all the restriction pattern object Id present in that restriction table Note PUT https://<connectionserver>/ vmrest/restrictiontables/<restrictiontableobjectid>/restrictionpatterns Request Body: <RestrictionPatterns> <RestrictionPattern> <ObjectId>6564adb9-9090-42e0-81e6-04e132c4382c</ObjectId> </RestrictionPattern> <RestrictionPattern> <ObjectId>d9cd1525-462b-4eef-8629-0be9d0db2d18</ObjectId> </RestrictionPattern> <RestrictionPattern> <ObjectId>db0aed70-316b-47cb-8335-52fe34d3ca94</ObjectId> </RestrictionPattern> <RestrictionPattern> <ObjectId>46485dc6-bf31-4b31-be58-9eacbe718d02</ObjectId> </RestrictionPattern> <RestrictionPattern> <ObjectId>b7d51bb8-0059-4b56-aadd-6f9e2eaea624</ObjectId> </RestrictionPattern> </RestrictionPatterns> Request URI: 204 Default restriction pattern can neither be edited nor be deleted. Note The entire restriction pattern Object Id is given including default restriction pattern. But sequence of default restriction pattern cannot be changed because default restriction pattern cannot be edited nor be deleted. Note Deleting a Restriction Pattern Example 1: Delete particular restriction pattern The following is an example of the DELETE request that deletes a specific restriction table where you need to mention the restriction pattern object ID DELETE https://<connection- server>/vmrest/restrictiontables/<restrictiontableobjectid>/restrictionpatterns/<restrictionpatterno bjectid> Response Code: 204 JSON Example To delete particular restriction pattern, do the following: Cisco Unity Connection Provisioning Interface (CUPI) API 676 Cisco Unity Connection Provisioning Interface (CUPI) API for System Settings Deleting a Restriction Pattern

Image 1 from page 708