UpdateUser() Parent topic

Description

Update user information.

Interface

https://[SecureCloudService]/broker/API.svc/v3.5/user/(userGUID}
Method: POST

Parameter

Parameter
Data Type
Description
Required?
userGUID
GUID
The GUID of the user.
Yes

Request

Refer to the following data type: User.

Response

Expected HTTP response code: 200 (OK)
Refer to the following data type: User.

Example Request URL

[POST]
https://ms.sample.securecloud.com/broker/API.svc/securityRule/v3.5/
      7e8dc239-77c0-4dad-9fd5-212e790c76c6/

Example Request Message

<user version="3.5" usertype="localuser" logintext="UEBzc3cwcmQ="
loginname="unittest+19@securecloud.com”email="unittest+19@securecloud.com"
MFAStatus="false">
      <contact>
            <firstName>Update_</firstName>
            <lastName>test</lastName>
            <email>unittest@securecloud.com</email>
      </contact>
      <role MFAStatus="false" name="Key Approver"/>
</user>

Example Response

<?xml version="1.0"?>
<user loginname="Update_test@securecloud.com" isPending="false"
isLicensedUser="false" isCurrent="false"
id="7e8dc239-77c0-4dad-9fd5-212e790c76c6"
href="https://ms.sample.securecloud.com/broker/API.svc/v3.5/user/
      7e8dc239-77c0-4dad-9fd5-212e790c76c6/"
authType="LocalAuthentication">
      <contact>
            <firstName>unit</firstName>
            <lastName>test</lastName>
            <email>unittest@securecloud.com</email>
      </contact>
      <account id="2EA58458-7D8C-468E-91A3-98005E70601E" name="SC_QA"/>
      <role name="Key Approver" MFAStatus="false"/>
</user>