Skip to content

Updating websites

Method update.site_blocks
Description Updating blocks of numbers for a website
Who has access Agent, Customer

Parameters of a request

Title Type Required Valid values Description
access_token string yes Authentication session key
id number yes Unique ID of a numbers block
name string no Name of a numbers block

JSON request structure

{
  "jsonrpc": "2.0",
  "id": "number",
  "method": "update.site_blocks",
  "params": {
    "access_token": "string",
    "user_id": "number",
    "id": "number",
    "name": "string"
  }
}

JSON reply structure

{
  "jsonrpc": "2.0",
  "id": "number",
  "result": {
  }
}

List of returning errors

Refer to the section "List of errors for the methods with the verb update"