GET /v1/router/auth/register-status first to see whether open registration is enabled. The endpoint is public when registration is open.
curl -X POST https://router.example.com:8080/v1/router/auth/register \
-H "Content-Type: application/json" \
-d '{"username":"alice","password":"secret123","email":"[email protected]"}'
{
"id": "user-abc123",
"username": "alice",
"email": "[email protected]",
"role": "user",
"disabled": false
}
Auth & Users
Register Account on Aria Compute ROUTER
POST /v1/router/auth/register creates a new user account on Aria Compute ROUTER. Check registration status with GET /v1/router/auth/register-status.
curl -X POST https://router.example.com:8080/v1/router/auth/register \
-H "Content-Type: application/json" \
-d '{"username":"alice","password":"secret123","email":"[email protected]"}'
{
"id": "user-abc123",
"username": "alice",
"email": "[email protected]",
"role": "user",
"disabled": false
}
Create a new user account on Aria Compute ROUTER. Check
Was this page helpful?