POST
/
auth
/
register-user
curl --request POST \
  --url http://localhost/api/v1/auth/register-user \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "username": "<string>",
  "user_id": "<string>",
  "permissions": [
    1
  ]
}'
{
  "user_id": "<string>",
  "username": "<string>",
  "settings": {
    "confirm_routing": true,
    "base_llm_model_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.