/mcpJSON Example To update the credentials, do the following: Request URI: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid>/credential/pin Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "Credentials":"10255" } 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 Example 2: To update the fields The following is the response from the above PUT request for updating fields and the actual response will depend upon the information given by you: Request Body: <UserTemplateCredential> <DoesntExpire>true</DoesntExpire> <Locked>false</Locked> <CantChange>false</CantChange> <CredMustChange>false</CredMustChange> <CredentialPolicyObjectId>58f0dc20-f8fc-467d-a648-b5ffbba87dd9</CredentialPolicyObjectId> </UserTemplateCredential> Response Code: 204 Updating fields can be done only when "CredMustChange" parameter is false and in order to change authentication rule and to view authentication rule use the following URI: Note GET https://<connection-server>/vmrest /authenticationrules Example 3: Updating web application password The following is an example of the PUT request that can be used to update the web application password: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid>/credential/password Request Body: <UserTemplateCredential> <Credentials>Cisco123</Credentials> </UserTemplateCredential> The following is the response from the above PUT request for updating credentials and the actual response will depend upon the information given by you: Response Code: 204 Cisco Unity Connection Provisioning Interface (CUPI) API 322 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Updating Password Settings and Changing Passwords
