English
cURL
curl --request POST \ --url https://api.altostrat.io/radius/accounts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "status": "<string>", "container_id": "<string>", "groups": [ "<string>" ], "tags": [ "<string>" ] } '
{ "id": "<string>", "username": "<string>", "status": "active", "container_id": "<string>", "group_count": 123, "check_attributes": [ { "attribute": "<string>", "op": "<string>", "value": "<string>" } ], "reply_attributes": [ { "attribute": "<string>", "op": "<string>", "value": "<string>" } ], "metadata": {}, "tags": [ "<string>" ], "created_at": "<string>", "updated_at": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The account was created successfully.
active
disabled
Show child attributes
Was this page helpful?