NodeRingsDocs

Update Firewall Rule Set

Update Firewall Rule Set on the NodeRings client API (PATCH /v1/firewall/rulesets/{id}).

PATCH
/v1/firewall/rulesets/{id}
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

Path Parameters

idstring
ruleset?

Response Body

application/json

curl -X PATCH "https://api.noderings.com/v1/firewall/rulesets/{id}" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "ruleset": {    "name": "string"  }}'
{
  "id": "string",
  "name": "string",
  "timestamps": {
    "createTime": "2019-08-24T14:15:22Z",
    "updateTime": "2019-08-24T14:15:22Z"
  },
  "ruleCount": 0,
  "attachedVmCount": 0,
  "attachedVmHostnames": [
    "string"
  ]
}