{"id":6579,"date":"2024-04-22T08:30:20","date_gmt":"2024-04-22T08:30:20","guid":{"rendered":"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/environment\/security\/"},"modified":"2024-05-28T08:44:49","modified_gmt":"2024-05-28T08:44:49","slug":"security","status":"publish","type":"docs","link":"https:\/\/accuweb.cloud\/api\/docs\/latest\/environment\/security\/","title":{"rendered":"environment.Security"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"6579\" class=\"elementor elementor-6579\" data-elementor-post-type=\"docs\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7ca4cfd e-flex e-con-boxed e-con e-parent\" data-id=\"7ca4cfd\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-25d11fa elementor-widget elementor-widget-text-editor\" data-id=\"25d11fa\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:#69727d;color:#fff}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap{color:#69727d;border:3px solid;background-color:transparent}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap{margin-top:8px}.elementor-widget-text-editor:not(.elementor-drop-cap-view-default) .elementor-drop-cap-letter{width:1em;height:1em}.elementor-widget-text-editor .elementor-drop-cap{float:left;text-align:center;line-height:1;font-size:50px}.elementor-widget-text-editor .elementor-drop-cap-letter{display:inline-block}<\/style>\t\t\t\t<table class=\"not-bold\">\n<tbody>\n<tr>\n<td><b>Namespace:<\/b><\/td>\n<td>Environment<\/td>\n<\/tr>\n<tr>\n<td><b>REST:<\/b><\/td>\n<td>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/{method-name}<\/td>\n<\/tr>\n<tr>\n<td><b>Scripting:<\/b><\/td>\n<td>environment.security.{method-name}<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\nThis service is responsible for managing the environment firewall feature. You can get a rules list, manage specific rules, and enable\/disable firewalls for environments. Learn more in the\u00a0documentation.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-fef6501 e-flex e-con-boxed e-con e-parent\" data-id=\"fef6501\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-346cbae elementor-widget elementor-widget-heading\" data-id=\"346cbae\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-heading-title{padding:0;margin:0;line-height:1}.elementor-widget-heading .elementor-heading-title[class*=elementor-size-]>a{color:inherit;font-size:inherit;line-height:inherit}.elementor-widget-heading .elementor-heading-title.elementor-size-small{font-size:15px}.elementor-widget-heading .elementor-heading-title.elementor-size-medium{font-size:19px}.elementor-widget-heading .elementor-heading-title.elementor-size-large{font-size:29px}.elementor-widget-heading .elementor-heading-title.elementor-size-xl{font-size:39px}.elementor-widget-heading .elementor-heading-title.elementor-size-xxl{font-size:59px}<\/style><h2 class=\"elementor-heading-title elementor-size-default\">Methods<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3524251 elementor-widget elementor-widget-accordion\" data-id=\"3524251\" data-element_type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t<style>\/*! elementor - v3.23.0 - 05-08-2024 *\/\n.elementor-accordion{text-align:start}.elementor-accordion .elementor-accordion-item{border:1px solid #d5d8dc}.elementor-accordion .elementor-accordion-item+.elementor-accordion-item{border-top:none}.elementor-accordion .elementor-tab-title{margin:0;padding:15px 20px;font-weight:700;line-height:1;cursor:pointer;outline:none}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{display:inline-block;width:1.5em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon svg{width:1em;height:1em}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-right{float:right;text-align:right}.elementor-accordion .elementor-tab-title .elementor-accordion-icon.elementor-accordion-icon-left{float:left;text-align:left}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-closed{display:block}.elementor-accordion .elementor-tab-title .elementor-accordion-icon .elementor-accordion-icon-opened,.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-closed{display:none}.elementor-accordion .elementor-tab-title.elementor-active .elementor-accordion-icon-opened{display:block}.elementor-accordion .elementor-tab-content{display:none;padding:15px 20px;border-top:1px solid #d5d8dc}@media (max-width:767px){.elementor-accordion .elementor-tab-title{padding:12px 15px}.elementor-accordion .elementor-tab-title .elementor-accordion-icon{width:1.2em}.elementor-accordion .elementor-tab-content{padding:7px 15px}}.e-con-inner>.elementor-widget-accordion,.e-con>.elementor-widget-accordion{width:var(--container-widget-width);--flex-grow:var(--container-widget-flex-grow)}<\/style>\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5571\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-5571\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">AddRule<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5571\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-5571\"><h3>AddRule (envName, session, rule, [nodeGroup] ) :<\/h3>\n<p>Adds a new firewall rule to the environment layer (node group).<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/addrule<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1308\">user session<\/a> or <a class=\"wpil_keyword_link\" href=\"https:\/\/accuweb.cloud\/api\/docs\/latest\/others\/personal-access-tokens\/\"   title=\"personal access token\" data-wpil-keyword-link=\"linked\"  data-wpil-monitor-id=\"1535\">personal access token<\/a>.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>rule<\/b><\/span>&nbsp;: &#8220;json&#8221;<br>\n<div class=\"sub-desc\">\n<p>JSON object with a new firewall rule:<\/p>\n<pre id=\"ext-gen2567\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n   <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n   <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}<\/pre>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target node group (layer), e.g. &#8220;cp&#8221; for the default application server layer.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/addrule?envName=[string]&amp;session=[string]&amp;rule=[json]&amp;nodeGroup=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">ObjectResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2568\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"object\":<\/span> {\n      <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n      <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n      <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n      <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n      <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n      <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n   },\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"warnings\":<\/span> [\n      <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-string\">\"...\"<\/span>\n   ]\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5572\" class=\"elementor-tab-title\" data-tab=\"2\" role=\"button\" aria-controls=\"elementor-tab-content-5572\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">AddRules<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5572\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"region\" aria-labelledby=\"elementor-tab-title-5572\"><h3>AddRules (envName, session, rules, [nodeGroup] ) :<\/h3>\n<p>Adds new firewall rules to the environment layer (node group).<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/addrules<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1309\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>rules<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>JSON object with an array of added firewall rules.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target node group (layer), e.g. &#8220;cp&#8221; for the default application server layer.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/addrules?envName=[string]&amp;session=[string]&amp;rules=[string]&amp;nodeGroup=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">ArrayResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2569\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"array\":<\/span> [\n      {\n         <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n         <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n         <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n         <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n      },\n      <span class=\"json-string\">\"...\"<\/span>\n   ],\n   <span class=\"json-attribute\">\"className\":<\/span> <span class=\"json-string\">\"Class\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5573\" class=\"elementor-tab-title\" data-tab=\"3\" role=\"button\" aria-controls=\"elementor-tab-content-5573\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">EditRule<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5573\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"3\" role=\"region\" aria-labelledby=\"elementor-tab-title-5573\"><h3>EditRule (envName, session, rule ) :<\/h3>\n<p>Applies changes to the existing firewall rule.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/editrule,<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1310\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>rule<\/b><\/span>&nbsp;: &#8220;json&#8221;<br>\n<div class=\"sub-desc\">\n<p>JSON object with a changed firewall rule.<\/p>\n<pre id=\"ext-gen2570\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n   <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n   <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}<\/pre>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/editrule?envName=[string]&amp;session=[string]&amp;rule=[json]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">ObjectResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2571\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"object\":<\/span> {\n      <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n      <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n      <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n      <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n      <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n      <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n   },\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"warnings\":<\/span> [\n      <span class=\"json-string\">\"string\"<\/span>,\n      <span class=\"json-string\">\"...\"<\/span>\n   ]\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5574\" class=\"elementor-tab-title\" data-tab=\"4\" role=\"button\" aria-controls=\"elementor-tab-content-5574\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">GetRules<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5574\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"4\" role=\"region\" aria-labelledby=\"elementor-tab-title-5574\"><h3>GetRules (envName, session, [nodeGroup],         <span class=\"direction_steps\">\r\n            <span class=\"direction_step\"><\/span>        <\/span>\r\n         ) :<\/h3>\n<p>Returns information about firewall rules for the environment.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/getrules<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1311\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target node group (layer), e.g. &#8220;cp&#8221; for the default application server layer.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>direction<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>filters returned list to show just inbound (INPUT or IN) or outbound (OUTPUT or OUT) rules<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/getrules?envName=[string]&amp;session=[string]&amp;nodeGroup=[string]&amp;direction=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">ArrayResponse<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2572\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"array\":<\/span> [\n      {\n         <span class=\"json-attribute\">\"action\":<\/span> <span class=\"json-string\">\"DENY(0) | ALLOW(1)\"<\/span>,\n         <span class=\"json-attribute\">\"direction\":<\/span> <span class=\"json-string\">\"INPUT(0) | OUTPUT(1) | BIDIRECTIONAL(2)\"<\/span>,\n         <span class=\"json-attribute\">\"dst\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"isEnabled\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"isInfra\":<\/span> <span class=\"json-string\">\"boolean\"<\/span>,\n         <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"ports\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"priority\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n         <span class=\"json-attribute\">\"protocol\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"relatedEnvName\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"relatedSoftNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"softNodeGroup\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n         <span class=\"json-attribute\">\"src\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n      },\n      <span class=\"json-string\">\"...\"<\/span>\n   ],\n   <span class=\"json-attribute\">\"className\":<\/span> <span class=\"json-string\">\"Class\"<\/span>,\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"name\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5575\" class=\"elementor-tab-title\" data-tab=\"5\" role=\"button\" aria-controls=\"elementor-tab-content-5575\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">RemoveRule<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5575\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"5\" role=\"region\" aria-labelledby=\"elementor-tab-title-5575\"><h3>RemoveRule (envName, session, id ) :<\/h3>\n<p>Removes the existing firewall rule.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/removerule<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1312\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>id<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>Unique identifier of the target firewall rule.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/removerule?envName=[string]&amp;session=[string]&amp;id=[int]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2573\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5576\" class=\"elementor-tab-title\" data-tab=\"6\" role=\"button\" aria-controls=\"elementor-tab-content-5576\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">RemoveRules<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5576\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"6\" role=\"region\" aria-labelledby=\"elementor-tab-title-5576\"><h3>RemoveRules (envName, session, ids ) :<\/h3>\n<p>Removes existing firewall rules.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/removerules<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1313\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>ids<\/b><\/span>&nbsp;: &#8220;list&#8221;<br>\n<div class=\"sub-desc\">\n<p>a comma- or semicolon-separated list of unique identifiers of the target firewall rules.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/removerules?envName=[string]&amp;session=[string]&amp;ids=[list]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2574\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5577\" class=\"elementor-tab-title\" data-tab=\"7\" role=\"button\" aria-controls=\"elementor-tab-content-5577\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">SetFirewallEnabled<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5577\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"7\" role=\"region\" aria-labelledby=\"elementor-tab-title-5577\"><h3>SetFirewallEnabled (envName, session, enabled ) :<\/h3>\n<p>Enables or disables a firewall feature for the specific environment.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setfirewallenabled<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1314\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>enabled<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\">\n<p>defines whether to enable (true) or disable (false) the environment firewall feature.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setfirewallenabled?envName=[string]&amp;session=[string]&amp;enabled=[boolean]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2575\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5578\" class=\"elementor-tab-title\" data-tab=\"8\" role=\"button\" aria-controls=\"elementor-tab-content-5578\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">SetRuleEnabled<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5578\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"8\" role=\"region\" aria-labelledby=\"elementor-tab-title-5578\"><h3>SetRuleEnabled (envName, session, id, enabled ) :<\/h3>\n<p>Enables or disables a specific firewall rule.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setruleenabled<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1315\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>id<\/b><\/span>&nbsp;: &#8220;int&#8221;<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target firewall rule.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>enabled<\/b><\/span>&nbsp;: &#8220;boolean&#8221;<br>\n<div class=\"sub-desc\">\n<p>defines whether to enable (true) or disable (false) the target firewall rule.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setruleenabled?envName=[string]&amp;session=[string]&amp;id=[int]&amp;enabled=[boolean]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2576\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-5579\" class=\"elementor-tab-title\" data-tab=\"9\" role=\"button\" aria-controls=\"elementor-tab-content-5579\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon elementor-accordion-icon-left\" aria-hidden=\"true\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-closed\"><svg class=\"e-font-icon-svg e-fas-plus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t<span class=\"elementor-accordion-icon-opened\"><svg class=\"e-font-icon-svg e-fas-minus\" viewBox=\"0 0 448 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M416 208H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h384c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z\"><\/path><\/svg><\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">SetRules<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-5579\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"9\" role=\"region\" aria-labelledby=\"elementor-tab-title-5579\"><h3>SetRules (envName, session, rules, [nodeGroup] ) :<\/h3>\n<p>Replaces all existing rules with new ones.<\/p>\n<h4 id=\"url\">URL<a class=\"anchorjs-link \" aria-label=\"Anchor\" data-anchorjs-icon=\"\ue9cb\" href=\"#url\" style=\"font: 1em \/ 1 anchorjs-icons; padding-left: 0.375em;\"><\/a><\/h4>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setrules<\/p>\n<h4 class=\"pa\">Parameters<\/h4>\n<ul>\n<li><span class=\"pre\"><b>envName<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>target environment name.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>session<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p><a class=\"wpil_keyword_link\" title=\"user session\" href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/users\/authentication\/#signin-appid-login-password-authenticationresponse\" data-wpil-keyword-link=\"linked\" data-wpil-monitor-id=\"1316\">user session<\/a> or personal access token.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>rules<\/b><\/span>&nbsp;: &#8220;string&#8221;<br>\n<div class=\"sub-desc\">\n<p>JSON object with an array of firewall rules to be set instead of the existing ones.<\/p>\n<\/div>\n<\/li>\n<li><span class=\"pre\"><b>nodeGroup<\/b><\/span>&nbsp;: &#8220;string&#8221; (optional)<br>\n<div class=\"sub-desc\">\n<p>unique identifier of the target node group (layer), e.g. &#8220;cp&#8221; for the default application server layer.<\/p>\n<\/div>\n<\/li>\n<\/ul>\n<h4 class=\"pa\">Example<\/h4>\n<p><span style=\"font-weight: bold;\">Method:<\/span> POST<\/p>\n<p>https:\/\/<a href=\"https:\/\/accuweb.cloud\/api\/docs\/8-6-1\/others\/user-environment-domain\/\" target=\"_blank\" rel=\"noopener\">[hoster-api-host]<\/a>\/1.0\/environment\/security\/rest\/setrules?envName=[string]&amp;session=[string]&amp;rules=[string]&amp;nodeGroup=[string]<\/p>\n<h4 class=\"pa\">Response<\/h4>\n<ul>\n<li><span class=\"pre\">Response<\/span><br>\n<div class=\"sub-desc\">\n<pre id=\"ext-gen2577\" class=\"json notpretty\">{\n   <span class=\"json-attribute\">\"error\":<\/span> <span class=\"json-string\">\"string\"<\/span>,\n   <span class=\"json-attribute\">\"reason\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"result\":<\/span> <span class=\"json-number\">\"int\"<\/span>,\n   <span class=\"json-attribute\">\"source\":<\/span> <span class=\"json-string\">\"string\"<\/span>\n}\n<\/pre>\n<\/div>\n<\/li>\n<\/ul><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Namespace: Environment REST: https:\/\/[hoster-api-host]\/1.0\/environment\/security\/rest\/{method-name} Scripting: environment.security.{method-name} This service is responsible for managing the environment firewall feature. You can get a rules list, manage specific rules, and enable\/disable firewalls for environments. Learn more in the\u00a0documentation. Methods AddRule AddRule (envName, session, rule, [nodeGroup] ) : Adds a new firewall rule to the environment layer (node group). URL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":5756,"menu_order":19,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-6579","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/6579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/comments?post=6579"}],"version-history":[{"count":66,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/6579\/revisions"}],"predecessor-version":[{"id":9076,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/6579\/revisions\/9076"}],"up":[{"embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/docs\/5756"}],"wp:attachment":[{"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/media?parent=6579"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/accuweb.cloud\/api\/wp-json\/wp\/v2\/doc_tag?post=6579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}