Pops API

update values

PUT /api/rest/admin/pops/:id

Parameters

Name Description
data[type] Resource type (pops)
data[id] POP ID
data[attributes][name] Name

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzMsInN1YiI6MTI2fQ.3VZp6b4eda1dwwj9Q8yTNuQ26hAR4iiivcCNV0fUx_o
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/pops/12

Body

{"data":{"type":"pops","id":12,"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/"168bbe0d2e57383b4bed202ce85c76e3"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: c057d07a-705e-4d2a-b367-0b09aaad3201
X-Runtime: 0.013594
Content-Length: 124

Status

200 OK

Body

{
  "data": {
    "id": "12",
    "type": "pops",
    "links": {
      "self": "http://example.org/api/rest/admin/pops/12"
    },
    "attributes": {
      "name": "name"
    }
  }
}