Numberlist API

update values

PUT /api/rest/admin/numberlists/:id

Parameters

Name Description
data[type] Resource type (numberlist)
data[id] Customer Auth ID
data[attributes][name] Name
data[attributes][default-action-id] Default action id
data[attributes][mode-id] Mode id
data[attributes][default-src-rewrite-rule] Default src rewrite rule
data[attributes][default-src-rewrite-result] Default src rewrite result
data[attributes][defer-src-rewrite] Defer src rewrite
data[attributes][default-dst-rewrite-rule] Default dst rewrite rule
data[attributes][default-dst-rewrite-result] Default dst rewrite result
data[attributes][defer-dst-rewrite] Defer dst rewrite
data[attributes][tag-action-value] Tag action value
data[attributes][variables] Variables
data[attributes][external-id] External id
data[attributes][external-type] External type
data[relationships][tag-action] Tag action

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2NiwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2OX0._nY5iMzT5OEreO4NePF4JFHRkTdr5jAJP7FED2XaDY8
Host: example.org
Cookie: 

Route

PUT /api/rest/admin/numberlists/13

Body

{"data":{"type":"numberlists","id":13,"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/"7a8d7921c45712b7b0e033167723e01c"
cache-control: max-age=0, private, must-revalidate
x-request-id: b29acf2f-7391-432b-af67-6500d820f225
x-runtime: 0.012813
content-length: 736

Status

200 OK

Body

{
  "data": {
    "id": "13",
    "type": "numberlists",
    "links": {
      "self": "http://example.org/api/rest/admin/numberlists/13"
    },
    "attributes": {
      "name": "name",
      "default-action-id": 1,
      "mode-id": 1,
      "created-at": "2026-01-02T12:46:09.227Z",
      "updated-at": "2026-01-02T12:46:09.247Z",
      "default-src-rewrite-rule": null,
      "default-src-rewrite-result": null,
      "defer-src-rewrite": false,
      "default-dst-rewrite-rule": null,
      "default-dst-rewrite-result": null,
      "defer-dst-rewrite": false,
      "tag-action-value": [

      ],
      "variables": {
        "numberlist_var1": "value"
      },
      "external-id": null,
      "external-type": null
    },
    "relationships": {
      "tag-action": {
        "links": {
          "self": "http://example.org/api/rest/admin/numberlists/13/relationships/tag-action",
          "related": "http://example.org/api/rest/admin/numberlists/13/tag-action"
        }
      }
    }
  }
}