Connectors
...
Actions
Network - Update
6 min
description updates an existing network object in check point r80 by using the provided unique identifier (uid) endpoint url /web api/set network 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 subnet mask (string) ipv4 network mask subnet (string) ipv4 or ipv6 network address if both addresses are required use subnet4 and subnet6 fields explicitly tags (array) collection of tag identifiers 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 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 19 34 01 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" "a11b304a 5465 44cc b030 eb8684c74e62", "name" "swimlane network 1", "type" "network", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" }, "broadcast" "allow", "subnet4" "192 0 2 0", "mask length4" 24, "subnet mask" "255 255 255 0", "nat settings" { "auto rule" false }, "groups" \[], "comments" "", "color" "blue", "icon" "networkobjects/network", "tags" \[], "meta info" { "lock" "unlocked", "validation state" "ok", "last modify time" { "posix" 1672428841673, "iso 8601" "2022 12 30t12 34 0700" }, "last modifier" "admin", "creation time" { "posix" 1672428551186, "iso 8601" "2022 12 30t12 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) broadcast (string) subnet4 (string) mask length4 (number) subnet mask (string) 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