Connectors
...
Actions
Host - Update
6 min
description updates an existing host in check point r80 using the provided unique identifier (uid) endpoint url /web api/set host method post inputs json body (object) – required json body uid (string) – required unique object identifier new name (string) object name must be unique in the domain ip address (string) ipv4 or ipv6 address if both addresses are required use ipv4 address and ipv6 address fields explicitly color (string) color of the object must be one of aquamarine, black, blue, crete blue, burlywood, cyan, dark green, khaki, orchid, dark orange, dark sea green, pink, turquoise, dark blue, firebrick, brown, forest green, gold, dark gold, gray, dark gray, light green, lemon chiffon, coral, sea green, sky blue, magenta, purple, slate blue, violet red, navy blue, olive, orange, red, sienna, yellow tags (array) collection of tag identifiers comments (string) comment string groups (object) collection of group identifiers add (array) remove (array) output example \[ { "status code" 200, "response headers" { "date" "fri, 30 dec 2022 18 33 42 gmt", "server" "cpws", "strict transport security" "max age=31536000; includesubdomains", "x frame options" "sameorigin", "content type" "application/json", "x ua compatible" "ie=emulateie8", "x forwarded host port" "443", "keep alive" "timeout=15, max=99", "connection" "keep alive", "transfer encoding" "chunked" }, "reason" "ok", "json body" { "uid" "def1f565 7732 49e4 a766 c25e91629a26", "name" "swimlane host 1", "type" "host", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" }, "ipv4 address" "192 168 1 102", "interfaces" \[], "nat settings" { "auto rule" false }, "groups" \[], "comments" "", "color" "light green", "icon" "objects/host", "tags" \[], "meta info" { "lock" "unlocked", "validation state" "ok", "last modify time" { "posix" 1672425222731, "iso 8601" "2022 12 30t11 33 0700" }, "last modifier" "admin", "creation time" { "posix" 1672424949489, "iso 8601" "2022 12 30t11 29 0700" }, "creator" "admin" }, "read only" true } } ] output parameters status code (number) reason (string) json body (object) uid (string) name (string) type (string) domain (object) uid (string) name (string) domain type (string) ipv4 address (string) interfaces (array) file name (string) – required file (string) – required nat settings (object) auto rule (boolean) groups (array) file name (string) – required file (string) – required comments (string) color (string) icon (string) tags (array) file name (string) – required file (string) – required meta info (object) lock (string) validation state (string) last modify time (object) posix (number) iso 8601 (string) last modifier (string) creation time (object) posix (number) iso 8601 (string) creator (string) read only (boolean) response headers header type date string server string strict transport security string x frame options string content type string x ua compatible string x forwarded host port string keep alive string connection string transfer encoding string