Hi @DaveFitz ,
This is what worked for me in Postman.
URL = https://{{hostname}}.{{domain}}.com/restapi/v10.2/Objects/Addresses?location=shared&name=Test-1-2-3
Body =
{
"entry": [
{
"@location": "shared",
"@name": "Test-1-2-3",
"ip-netmask": "10.21.46.0/24",
"tag": {
"member": [
"API"
]
},
"description": "Miami Voice Network"
}
]
}
Response =
{
"@status": "success",
"@code": "20",
"msg": "command succeeded"
}
The name needs to be in the URL according to this example: https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-panorama-api/get-started-with-the-pan-os-rest-ap...
My "API" tag already existed. Here is the newly created object in the Panorama GUI:
Thanks,
Tom
Help the community: Like helpful comments and mark solutions.