server

Attach a private firewall ruleset

Attach a private, stateful firewall ruleset to a Cloud Server. The latest ruleset version is selected and applied to private network interfaces.

post/1.3/server/{uuid}/attach_firewall_ruleset/private

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/server/{uuid}/attach_firewall_ruleset/private
  • Auth: HTTP bearer

Path parameters

uuidstring uuid required

Universally unique identifier

Example:0414e0d7-4436-4037-9dd8-6eaf47dce599

Cloud Server UUID

Request body

Example request

{
  "firewall_ruleset": {
    "firewall_ruleset_uuid": "190f56d8-4b3f-4a89-9e5f-320fbc3d17c8"
  }
}

Response

Private firewall ruleset relationship

firewall_ruleset_uuidstring uuid required

Universally unique identifier

server_uuidstring uuid required

Universally unique identifier

type'public' | 'private' required

Network interface class to which the ruleset applies.

Example response

{
  "firewall_ruleset_uuid": "190f56d8-4b3f-4a89-9e5f-320fbc3d17c8",
  "server_uuid": "0077fa3d-32db-4b09-9f5f-30d9e9afb565",
  "type": "private"
}

Changes

No recorded changes to this operation across all 1 revision of this API.