This API is used to update Ultraviolet user data.
Nodes acting on behalf of standard Users cannot update any user but the one identified in the SAML security token.
A minimum of 1 full access User must be present in an Account at all times; the last remaining full access user cannot be updated, regardless of the access level of the user identified in the SAML security token.
[BaseURL]/Account/{AccountID}/User/{UserID}
PUT
dece:UserData-type
/User/Credentials/Password
If not provided, the User password will not be changed.
Authorization: SAML2 assertion=[Assertion]
HTTP 200 Ok
The following example API call updates an existing users email address and username.
PUT /rest/2015/02/Account/urn:dece:accountid:org:dece:D39621A70BA347A6B098054512DCDE26/User/urn:dece:userid:org:dece:6EB44425B9814DDFB9E7F70C31A184C7 HTTP/1.1
Host: api.uvvu.com
Accept: application/xml
Authorization: SAML2 assertion=[Assertion]
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<User UserClass="urn:dece:role:user:class:full" UserID="urn:dece:userid:org:dece:6EB44425B9814DDFB9E7F70C31A184C7" xmlns="http://www.decellc.org/schema/2015/03/coordinator">
<Name>
<GivenName>Clark</GivenName>
<SurName>Kent1278</SurName>
</Name>
<ContactInfo>
<PrimaryEmail>
<Value>new@email.com</Value>
</PrimaryEmail>
</ContactInfo>
<Languages>
<Language>en-US</Language>
</Languages>
<Credentials>
<Username>new@email.com</Username>
</Credentials>
</User>
HTTP/1.1 200
Date: [Date]
Content-Type: application/xml
X-transaction-info: [TransactionInfo]