v4

latestOpenAPI 3.0.1Apache 2.02026-08-036821,1001.5 MB
Configuration - Policy

Create MAC Firewall policy

Create a new MAC Firewall policy.

post/mac-firewall-policies

Request body

namestring

The MAC firewall policy name

descriptionstring

The MAC firewall policy description.

Response

Created

idinteger required

The unique identifier

create_timestring date-time required

The create time in UTC (ISO 8601 format)

update_timestring date-time required

The last update time in UTC (ISO 8601 format)

org_idinteger

The organization identifier, valid when enabling HIQ feature

namestring

The MAC Firewall policy name

descriptionstring

The MAC Firewall policy description.

predefinedboolean

Flag to describe whether the application is predefined or customized.

Example response

{
  "rules": [
    {
      "source_mac": {
        "value": "AABBCCDDEEFF",
        "mac_address_end": "FFFFFFFFFFFF"
      },
      "destination_mac": {
        "value": "AABBCCDDEEFF",
        "mac_address_end": "FFFFFFFFFFFF"
      }
    }
  ]
}