Create Host
POST {{protocol}}://{{hostname}}/api/fmc_config/v1/domain/{{domain_id}}/object/hosts
Request Body
{"name"=>"{{host}}", "description"=>"Created via Postman", "value"=>"198.18.100.254", "overridable"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-auth-access-token | string |
RESPONSES
status: 201
{"links":{"self":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/hosts/000C291A-43AC-0ed3-0000-008589944126","parent":"https://fmc.example.com/api/fmc_config/v1/domain/e276abec-e0f2-11e3-8169-6d9ed49b625f/object/networkaddresses"},"type":"Host","value":"198.18.100.254","overridable":true,"description":"Created via Postman","name":"Postman-HostObj","id":"000C291A-43AC-0ed3-0000-008589944126","metadata":{"timestamp":0,"lastUser":{"name":"api"},"domain":{"name":"Global","id":"e276abec-e0f2-11e3-8169-6d9ed49b625f","type":"Domain"},"ipType":"V_4","parentType":"NetworkAddress"}}