Name | Description |
---|---|
data[type] | Resource type (disconnect-policies) |
data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjkxLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzQwODUzMDMwfQ.Y43GFOem_Jq-OjLa3uQ6WBgAOX5RXQlme2960xJcWjo Host: example.org Cookie:
POST /api/rest/admin/disconnect-policies
{"data":{"type":"disconnect-policies","attributes":{"name":"name"}}}
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/"11c6786d283431fddcbc2ec32e0be9a1" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: cabdc1f3-59ac-4ee6-abe4-3dceb4e07760 X-Runtime: 0.023011 Content-Length: 152
201 Created
{ "data": { "id": "7", "type": "disconnect-policies", "links": { "self": "http://example.org/api/rest/admin/disconnect-policies/7" }, "attributes": { "name": "name" } } }