curl -X POST https://router.example.com:8080/v1/router/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"alice","password":"secret123"}' \
-c cookies.txt
{
"id": "user-abc123",
"username": "alice",
"email": "[email protected]",
"role": "user",
"disabled": false
}
Auth & Users
Log In to Aria Compute ROUTER Session
POST /v1/router/auth/login authenticates a user and sets a session cookie for Aria Compute ROUTER management and data plane access.
curl -X POST https://router.example.com:8080/v1/router/auth/login \
-H "Content-Type: application/json" \
-d '{"username":"alice","password":"secret123"}' \
-c cookies.txt
{
"id": "user-abc123",
"username": "alice",
"email": "[email protected]",
"role": "user",
"disabled": false
}
Log in with your username and password. On success the response sets a session cookie you can use for later requests to both the management plane and the data plane.
Was this page helpful?