create new entry
POST /api/rest/admin/equipment/radius/auth-profiles
Parameters
Name |
Description |
data[type]
|
Resource type (auth-profiles)
|
data[attributes][name]
|
Name
|
data[attributes][server]
|
Server
|
data[attributes][port]
|
Port
|
data[attributes][secret]
|
Secret
|
data[attributes][timeout]
|
Timeout
|
data[attributes][attempts]
|
Attempts
|
data[attributes][enable-start-accounting]
|
Enable start accounting
|
data[attributes][enable-interim-accounting]
|
Enable interim accounting
|
data[attributes][interim-accounting-interval]
|
Interim accounting interval
|
data[attributes][enable-stop-accounting]
|
Enable stop accounting
|
Request
Headers
Route
POST /api/rest/admin/equipment/radius/auth-profiles
Body
{"data":{"type":"auth-profiles","attributes":{"name":"name","server":"server","port":"1","secret":"secret","timeout":100,"attempts":2}}}
Response
Headers
Status
201 Created
Body
{
"data": {
"id": "4",
"type": "auth-profiles",
"links": {
"self": "http://example.org/api/rest/admin/equipment/radius/auth-profiles/4"
},
"attributes": {
"name": "name",
"server": "server",
"port": 1,
"secret": "secret",
"reject-on-error": true,
"timeout": 100,
"attempts": 2
}
}
}