Auth profiles API

update values

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

Parameters

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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzEsInN1YiI6OTN9.UzD7LUIN4JLH6HeJemJBWYvJSoRi5DPGp66K2KVEqPE
Host: example.org
Cookie: 

Route

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

Body

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

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"b41c45bda49b11d16a839586bd89eb96"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: d4b1efab-2b37-47f1-b3ad-07adfa061b86
X-Runtime: 0.016277
Content-Length: 252

Status

200 OK

Body

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