Register User
Product version: 10.11
Last modified: 31 July 2024
Registers the user during the first-time logging in. Refer to Logging in to NAKIVO Backup and Replication for an explanation.
Endpoint
https://<Director_IP_address>:4443/c/router
Request Example
curl
Copy
curl --request POST \
--url https://<Director_IP_address>:4443/c/router \
--header "content-type: application/json" \
--cookie @cookies.txt \
--data '{
"action": "RegistrationManagement",
"method": "register",
"data": ["john", "PasswordXYZ", "john.dent@company.com", null],
"type": "rpc",
"tid": 1}'
Request Fields
Field
|
Type
|
Value(s)
|
Description |
---|---|---|---|
action |
string |
|
The action that is invoked |
method |
string |
|
The method that is invoked |
data |
array |
|
Parameters of the method to be invoked |
type |
string | rpc |
Type of communication protocol |
tid |
integer | 1 |
Transaction ID. Used to identify the request by both the client and the server |
Data
Field
|
Type
|
Description
|
---|---|---|
|
string | User name to be registered as the application administrator |
|
string | Password of the user to be registered |
|
string | Email of the user to be registered |
|
string | EC2 Instance ID, optional |
Response Sample
curl
Copy
{
"action": "RegistrationManagement",
"method": "register",
"tid": "1",
"type": "rpc",
"message": null,
"where": null,
"cause": null,
"data": null
}
Response Fields
Field
|
Value
|
Description
|
---|---|---|
|
string | Message if the request failed |
|
string | Reference to the method where the problem occurred |
|
string | Cause of failure |
|
string |
|