Radius Auth profiles API

create new entry

POST /api/rest/admin/radius-auth-profiles

Parameters

Name Description
data[type] Resource type (radius-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

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTYxfQ.vWlBfdoeqi5n5ZJo5ABAiMYPjJb9el7sDETK4RJTGQs
Host: example.org
Cookie: 

Route

POST /api/rest/admin/radius-auth-profiles

Body

{"data":{"type":"radius-auth-profiles","attributes":{"name":"name","server":"server","port":"1","secret":"secret","timeout":100,"attempts":2}}}

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
location: http://example.org/api/rest/admin/radius-auth-profiles/4
vary: Accept
etag: W/"838c4aece7af677b998cdf8e921fa4ec"
cache-control: max-age=0, private, must-revalidate
x-request-id: 6bb5795e-a4ff-4ecd-9572-ea94f3fa057e
x-runtime: 0.011228
content-length: 249

Status

201 Created

Body

{
  "data": {
    "id": "4",
    "type": "radius-auth-profiles",
    "links": {
      "self": "http://example.org/api/rest/admin/radius-auth-profiles/4"
    },
    "attributes": {
      "name": "name",
      "server": "server",
      "port": 1,
      "secret": "secret",
      "reject-on-error": true,
      "timeout": 100,
      "attempts": 2
    }
  }
}