Create ProtocolPortObject

POST {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/object/protocolportobjects

Request Body

{"type"=>"ProtocolPortObject", "port"=>"80", "protocol"=>"TCP", "overridable"=>true, "description"=>"Created by Postman", "name"=>"{{protocolportobject}}"}

HEADERS

KeyDatatypeRequiredDescription
X-auth-access-tokenstring

RESPONSES

status: 201

{"metadata":{"timestamp":0,"lastUser":{"name":"api"},"domain":{"name":"Global","id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","type":"Domain"},"parentType":"Port"},"links":{"self":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/protocolportobjects/000C291A-43AC-0ed3-0000-008589944641","parent":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/ports"},"type":"ProtocolPortObject","protocol":"ESP","overridable":true,"description":"Created by Postman","name":"Postman-ProtocolPortObject","id":"000C291A-43AC-0ed3-0000-008589944641"}