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

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTUsInN1YiI6OTN9.1RK8kVxVhSmDumRoKM995wXfWJHovkfPX_dWCaLoJmw
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-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/"b5d8f9df76f31c190a287ea4fd59949d"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 0fa3fec7-127a-4805-ad09-e9663f004d49
X-Runtime: 0.021879
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"
    }
  }
}