Description
Create a new user.
Interface
https//[SecureCloudService]/broker/API.svc/v3.5/user
Method: POST
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/v3.5/user/
Example Request Message
<user version="3.5"
usertype="localuser"
logintext="UEBzc3cwcmQ="
loginname="unittest@securecloud.com"
email="unittest@securecloud.com"
MFAStatus="false">
<contact>
<firstName>unit</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="unittest@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>