Update ProtocolPortObject
PUT {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/object/protocolportobjects/{{protocolportobject_id}}
Request Body
{"id"=>"{{protocolportobject_id}}", "type"=>"ProtocolPortObject", "port"=>"8080", "protocol"=>"UDP", "overridable"=>true, "description"=>"Updated by Postman", "name"=>"{{protocolportobject}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-auth-access-token | string |
RESPONSES
status: 200
{"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-008589944693","parent":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/ports"},"type":"ProtocolPortObject","port":"8080","protocol":"UDP","overridable":true,"description":"Updated by Postman","name":"Postman-ProtocolPortObject","id":"000C291A-43AC-0ed3-0000-008589944693"}