Managing CTERA Portal Users > Modifying Individual Attributes of a Portal User
Modifying Individual Attributes of a Portal User
Modify the attributes of a CTERA Portal user.
API
admin/api/users
Or, for an Active Directory user:
admin/api/domains/domain_name/adUsers
URI
{BASE_URL}/users/user_ID/Attribute_ID
Or, for an Active Directory user:
{BASE_URL}/domains/domain_name/adUsers/user_ID/Attribute_ID
HTTP Method
PUT
Request Content-Type
application/xml
Request Body
<val>New_value</val>
Expected Response status
200 OK
Java Example
To change the last name of the user jsmith to Kent, use the following:
putObject(httpClient, baseUrl+ "/users/jsmith/lastName", "<val>Kent</val>")