Disconnect policies API

update values

PUT /api/rest/admin/disconnect-policies/:id

Parameters

Name Description
data[type] Resource type (disconnect-policies)
data[id] Disconnect policy ID
data[attributes][name] Name

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjk2LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTY0fQ.VXv8h63-TRG1iUJd4FHxXdwjuFF0mL19eZZrOyYs2_8
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/disconnect-policies/8

Body

{"data":{"type":"disconnect-policies","id":8,"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/"b5d8f9df76f31c190a287ea4fd59949d"
cache-control: max-age=0, private, must-revalidate
x-request-id: b357a386-8758-44b1-bec3-f335474cc15b
x-runtime: 0.011013
content-length: 152

Status

200 OK

Body

{
  "data": {
    "id": "8",
    "type": "disconnect-policies",
    "links": {
      "self": "http://example.org/api/rest/admin/disconnect-policies/8"
    },
    "attributes": {
      "name": "name"
    }
  }
}