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

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE3NywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwOH0.5Q5v32OYmsAH9lZovxvNd5sN_SJp0Pvi-7KED4UK-5c
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-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: a790c997-372a-4eb8-87a9-fc0851f9c4ef
x-runtime: 0.011702
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"
    }
  }
}