/mcp<Roles total="4"> <Role> <ObjectId>5c5abfb9-eec9-4df5-877d-972f65b73df6</ObjectId> <RoleName>Custom Role 1</RoleName> <RoleDescription>New custom role for user 1</RoleDescription> <IsEnabled>true</IsEnabled> <ReadOnly>false</ReadOnly> <InheritedObjectId>5976fb56-e398-4659-841a-5519c97a036f</InheritedObjectId> </Role> ........ ........ ........ <Role> <ObjectId>c616cc89-16f0-4fe5-9213-c5ce4ea5e81e</ObjectId> <RoleName>Custom role 4</RoleName> <RoleDescription>New custom role for user 4</RoleDescription> <IsEnabled>true</IsEnabled> <ReadOnly>false</ReadOnly> <InheritedObjectId>dc32b8c1-bc71-4a81-9538-72ebb88a3f31</InheritedObjectId> </Role> </Roles> Response Code: 200 Creating a New Custom Role The following is an example of POST request that creates a new Custom Role. POST https://<connection-server>/vmrest/customroles?systemRoleToInherit=<systemRoleToInherit_objId> In systemRoleToInherit field, provide the object id of the System Role that you want to inherit while creating a Custom Role. The privileges of inherited system role are assigned to the custom role. Below are the system roles that can be inherited: • Audio Text Administrator • Greeting Administrator • Help Desk Administrator • Technician • User Administrator • Tenant Administrator Note Request Body Cisco Unity Connection Provisioning Interface (CUPI) API 670 Cisco Unity Connection Provisioning Interface (CUPI) API for System Settings Creating a New Custom Role
