McDewey

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

Page 355

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

Web password should be in alphanumeric only. Note JSON Example To update the credentials, do the following: Request URI: PUT https://<connection-server>/vmrest/usertemplates/<usertemplateobjectid>/credential/password Accept: application/json Content_type: application/json Connection: keep_alive Request Body: { "Credentials":"10255", "CantChange":"false", "DoesntExpire":"true", "Locked":"false", "CredMustChange":"false", "CredentialPolicyObjectId":"7b282b66-73b1-4989-9d94-3d105b6ef5e8" } 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 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 Adding or Deleting Roles To view the roles object ID use the following URI: GET https://<connection-server>/vmrest/roles Cisco Unity Connection Provisioning Interface (CUPI) API 323 Cisco Unity Connection Provisioning Interface (CUPI) API for User Template Adding or Deleting Roles

Image 1 from page 355