Create SecurityZone
POST {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/object/securityzones
Request Body
{"name"=>"{{securityzone}}", "type"=>"SecurityZone", "interfaceMode"=>"ROUTED"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-auth-access-token | string |
RESPONSES
status: 201
{"name":"Postman-SecurityZone","id":"7b2f1ae0-43d8-11ec-a00f-77015374e8d7","type":"SecurityZone","links":{"self":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/securityzones/7b2f1ae0-43d8-11ec-a00f-77015374e8d7","parent":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/interfaceobjects"},"metadata":{"readOnly":{"state":false},"parentType":"InterfaceObject","timestamp":1636735759,"lastUser":{"name":"admin","id":"68d03c42-d9bd-11dc-89f2-b7961d42c462","type":"user"},"domain":{"name":"Global","id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","type":"Domain"}},"interfaces":[{"type":"PhysicalInterface","id":"000C291A-43AC-0ed3-0000-008589941597","name":"GigabitEthernet0/0"}],"interfaceMode":"ROUTED"}