Spectra Logic
1-800-833-1132 : 1-303-449-6400


Access Control Operations : User Operations : Modify User

Modify User
Description
Modify the name or default data policy for a user.
Note:
Requests
Syntax
PUT http[s]://{datapathDNSname}/_rest_/user/{user UUID, name, or other unique attribute}[?default_data_policy_id={string}][&name={string}][&secret_key={string}]
To determine the UUID for a user, see Get Users.
Request Parameters 
Responses
Response Elements
<Data>
   <AuthId>{
string}</AuthId>
   <DefaultDataPolicyId>{string}</DefaultDatePolicyId>
   <Id>{string}</Id>
   <Name>{string}</Name>
   <SecretKey>{string}</SecretKey>
</Data>
where the response elements are defined as follows:
Example
Sample Request
This request modifies the user with the username “user1” to use the default data policy “Accounting”.
PUT http://blackpearl-hostname/_rest_/user/user1?default_data_policy_id=Accounting HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AuthId>c381Y3RyYQ==</AuthId>
   <DefaultDataPolicyId>
      0b6ef313-09d3-4a40-b43e-f4cb01b352ad
   </DefaultDataPolicyId>
   <Id>b136c431-a59e-413e-b03f-23f7b841ac25</Id>
   <Name>user1</Name>
   <SecretKey>grHkEdE5</SecretKey>
</Data>