Radius Auth profiles API

update values

PUT /api/rest/admin/radius-auth-profiles/:id

Parameters

Name Description
data[type] Resource type (radius-auth-profiles)
data[id] Auth profile ID
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.eyJzdWIiOjQzLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTYxfQ.Zzc0B9_f4HcfDenUaGdYYpX902FL6CXvNW6MYX1jMPo
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/radius-auth-profiles/5

Body

{"data":{"type":"radius-auth-profiles","id":5,"attributes":{"name":"name"}}}

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
vary: Accept
etag: W/"cec94838567b57ce2e134693cf734175"
cache-control: max-age=0, private, must-revalidate
x-request-id: fd294ebd-b40a-4cc0-a103-744c9a2886f4
x-runtime: 0.012062
content-length: 249

Status

200 OK

Body

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