PATCH /service/api/securecloud/customers/{customerId}/users/{userId}
Updates a user for an end customer.
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
customerId |
A unique id by which an end customer is identified. |
string |
Required |
userId |
A unique id by which the user is identified. |
string |
Required |
URI Sample(s)
PATCH
|
https://unityapi.webrootcloudav.com/service/api/securecloud/customers/1e0a7a3c-92b7-480d-a48f-a38600f660bf/users/2e0a7a3c-92b7-480d-a48f-a18600f660af
|
Body Parameters
Information about the user to be updated for the customer.
UpdateCustomerUserRequestModelName | Description | Type | Additional Information |
---|---|---|---|
FirstName |
First name of the user. |
string |
None. |
LastName |
Last name of the user. |
string |
None. |
PhoneNumber |
Phone number of the user. |
string |
None. |
Roles |
Roles of the user. Valid roles are: Partner_Support, Partner_Sales, Partner_Administrator, Billing and Customer_Administrator. If more than one role is specified, the user is granted the role that can perform the most tasks. If a role is not specified, the user is granted access to their own services, with no admin privileges. |
Collection of string |
None. |
Sample Request
{ "FirstName": "Richard", "LastName": "illingworth", "PhoneNumber": "1234567890", "Roles": [ "Partner_Administrator", "Billing" ] }
<UpdateCustomerUserRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.SecureCloud.Models"> <FirstName>Richard</FirstName> <LastName>illingworth</LastName> <PhoneNumber>1234567890</PhoneNumber> <Roles xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>Partner_Administrator</d2p1:string> <d2p1:string>Billing</d2p1:string> </Roles> </UpdateCustomerUserRequestModel>
Response Information
Resource Description
Additional information received while updating the user.
UpdateCustomerUserResponseModelName | Description | Type | Additional Information |
---|---|---|---|
Message |
Additional information received while updating the user. |
string |
None. |
Sample Response
{ "Message": "User was updated" }
<UpdateCustomerUserResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webroot.UnityAPI.ServiceExtension.SecureCloud.Models"> <Message>User was updated</Message> </UpdateCustomerUserResponseModel>