Hot!Rest API - To Add address object to group

Author
NivethithaRajasekaran
New Member
  • Total Posts : 1
  • Scores: 0
  • Reward points: 0
  • Joined: 2020/01/31 09:10:23
  • Status: offline
2020/01/31 09:31:26 (permalink)
0

Rest API - To Add address object to group

Hi,
 
I am trying to add new Address object to the existing address group through API. The firewall version is 5.6.8 so accessing this api through API token. When i try to hit the API, it gives 500 and error code is -3.
 
Is there anything missing?
 
The API which i am using is,
URL:
https://{{fw_ip}}/api/v2/cmdb/firewall/addrgrp/{{addressGroup}}
Payload :
{"member":[{"name":"1.1.1.1.","q_origin_key":"1.1.1.1"}]}
Request type:
PUT
Error:
 
{
"http_method": "PUT",
"revision": "5",
"error": -3,
"status": "error",
"http_status": 500,
"vdom": "root",
"path": "firewall",
"name": "addrgrp",
"mkey": "test",
"serial": "FG1111",
"version": "v5.6.8",
"build": 172
}
#1

0 Replies Related Threads

    Jump to:
    © 2020 APG vNext Commercial Version 5.5