I updated the file as you suggested but still there's no change at all.
The TAC is not able to help me out also.
# cat cpi-mac-add.json
{
"name": "Test-Test",
"host_format": "list",
"host_type": "MACAddress",
"host_entries": [
{"host_address": "00:00:AA:22:33:44", "host_address_desc" : "Test 44"},
{"host_address": "00:AA:BB:CC:DD:FF", "host_address_desc" : "Test FF"}
]
}
# curl -vX PATCH "https://**.com/api/static-host-list/3029" -H "Content-Type: application/json" -H "Authorization: Bearer 2e2725008829606b7ac813411c0*******7939" -m 30 -v -k -d "@cpi-mac-add.json"
* About to connect() to **.com port 443 (#0)
* Trying 1.1.1.186...
* Connected to **.com (1.1.1.186) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=nac.example.com,OU=IT Network,O="Test, Inc.",L=Sunnyvale,ST=California,C=US
* start date: Sep 09 00:00:00 2019 GMT
* expire date: Sep 13 12:00:00 2021 GMT
* common name: nac.example.com
* issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.example.com,O=DigiCert Inc,C=US
> PATCH /api/static-host-list/3029 HTTP/1.1
> User-Agent: curl/7.29.0
> Host: **.com
> Accept: */*
> Content-Type: application/json
> Authorization: Bearer 2e2725008829606b7ac813411c0*******7939
> Content-Length: 238
>
* upload completely sent off: 238 out of 238 bytes
< HTTP/1.1 200 OK
< Date: Fri, 10 Jan 2020 19:19:39 GMT
< Server: Apache
< Vary: X-Forwarded-For
< X-Powered-By: PHP/7.1.30
< X-XSS-Protection: 1;mode=block
< X-Content-Type-Options: nosniff
< Content-Length: 240
< Content-Type: application/hal+json
<
* Connection #0 to host **.com left intact
{"id":3029,"name":"Test-Test","description":"Test REST API call","host_format":"list","host_type":"MACAddress","value":"00:00:AA:22:33:44","_links":{"self":{"href":"https:\/\/**.com\/api\/static-host-list\/3029"