Radius Accounting profiles API

update values

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

Parameters

Name Description
data[type] Resource type (radius-accounting-profiles)
data[id] Accounting 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.eyJzdWIiOjE1LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTU5fQ.Q5iLONdI9Vu4e9ejVd66n87Ucu-i6iHMAkj_yyOJuqQ
Host: example.org
Cookie: 

Route

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

Body

{"data":{"type":"radius-accounting-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/"eb6cb4ffb65aeaa54532cc6cd93513cf"
cache-control: max-age=0, private, must-revalidate
x-request-id: bb7f1915-3178-4a5b-ba1c-41e541a2f6e1
x-runtime: 0.015183
content-length: 367

Status

200 OK

Body

{
  "data": {
    "id": "5",
    "type": "radius-accounting-profiles",
    "links": {
      "self": "http://example.org/api/rest/admin/radius-accounting-profiles/5"
    },
    "attributes": {
      "name": "name",
      "server": "server",
      "port": 1,
      "secret": "secret",
      "timeout": 100,
      "attempts": 2,
      "enable-start-accounting": false,
      "enable-interim-accounting": false,
      "interim-accounting-interval": 30,
      "enable-stop-accounting": true
    }
  }
}