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


Access Control Operations : User Operations : Delegate Create User

Delegate Create User
Description
Delegates a create user request to the management path. Users can only be created and deleted using the management path. This command sends the create user request to the management path.
Requests
Syntax
POST http[s]://{datapathDNSname}/_rest_/user_internal?name={string}[&id={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 creates the user with the username “user1”.
POST http://blackpearl-hostname/_rest_/user_internal?name=user1 HTTP/1.1
Sample Response
HTTP/1.1 200 OK
<Data>
   <AuthId>c381Y3RyYQ==</AuthId>
   <DefaultDataPolicyId/>
   <Id>b136c431-a59e-413e-b03f-23f7b841ac25</Id>
   <Name>user1</Name>
   <SecretKey>grHkEdE5</SecretKey>
</Data>