Name | Description |
---|---|
data[type] | Resource type (pops) |
data[id] | POP ID |
data[attributes][name] | Name |
Version: HTTP/1.0 Accept: application/vnd.api+json Content-Type: application/vnd.api+json Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NTgsInN1YiI6MTQ2fQ.DSfJmgauLQwciET45OmVAcSAXI3MQisSdwhJJj0XRaM Host: example.org Cookie:
PUT /api/rest/admin/pops/12
{"data":{"type":"pops","id":12,"attributes":{"name":"name"}}}
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/"168bbe0d2e57383b4bed202ce85c76e3" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: d6e9c9e3-202f-4692-a8d2-838dbb7d7dd5 X-Runtime: 0.015978 Content-Length: 124
200 OK
{ "data": { "id": "12", "type": "pops", "links": { "self": "http://example.org/api/rest/admin/pops/12" }, "attributes": { "name": "name" } } }