Connectors
...
Actions
Domain - Update
6 min
description updates a specified domain in check point r80 using the provided uid ensure to include uid in the json body endpoint url /web api/set dns domain method post inputs json body (object) – required json body uid (string) – required unique object identifier new name (string) dns domain name should always start with a ' ' character should be unique in the domain is sub domain (boolean) whether to match sub domains in addition to the domain itself 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) comments string output example \[ { "status code" 200, "response headers" { "date" "fri, 30 dec 2022 15 44 32 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" "540cbca6 4310 4d20 8b71 9dc24dc669a6", "name" " 269a0d7638494a48ba4f14a467532a41", "type" "dns domain", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" }, "is sub domain" false, "comments" "", "color" "blue", "icon" "objects/domain", "tags" \[ { "uid" "f79739be 99c5 4b2e affe cc74b262ad9e", "name" "example tag", "type" "tag", "domain" { "uid" "41e821a0 3720 11e3 aa6e 0800200c9fde", "name" "smc user", "domain type" "domain" } } ], "meta info" { "lock" "locked by current session", "validation state" "ok", "last modify time" { "posix" 1631552270100, "iso 8601" "2021 09 13t10 57 0600" }, "last modifier" "admin", "creation time" { "posix" 1631551342883, "iso 8601" "2021 09 13t10 42 0600" }, "creator" "admin" }, "read only" false } } ] 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) is sub domain (boolean) comments (string) color (string) icon (string) tags (array) uid (string) name (string) type (string) domain (object) uid (string) name (string) domain type (string) 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