cURL
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>" } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
The response is of type object.
object