Disconnect policies API

create new entry

POST /api/rest/admin/disconnect-policies

Parameters

Name Description
data[type] Resource type (disconnect-policies)
data[attributes][name] Name

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjk1LCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTY0fQ.8UQolTBf4ILD6IWz_NskPjGoQSL5aPFxAScawhZeRjY
Host: example.org
Cookie: 

Route

POST /api/rest/admin/disconnect-policies

Body

{"data":{"type":"disconnect-policies","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
location: http://example.org/api/rest/admin/disconnect-policies/7
vary: Accept
etag: W/"11c6786d283431fddcbc2ec32e0be9a1"
cache-control: max-age=0, private, must-revalidate
x-request-id: 77e09b2b-b366-43ac-934f-174d152a08f5
x-runtime: 0.010060
content-length: 152

Status

201 Created

Body

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