API's 『firewall-device-create』document can't working.
API Document:
POST https://api.linode.com/v4/networking/firewalls/{firewallId}/devices
Request body
{
"type": "linode",
"id": {instance_id}
}
Response body
{
"errors": [
{
"reason": "Not found"
}
]
}
1 Reply
firewallid should be a number id of a firewall you create in Cloud Firewall, it's not literally "{firewallId}"
So first create a firewall if you have not made one
Then use the API firewall list to find the number id of the firewall you created:
https://www.linode.com/docs/api/networking/#firewalls-list
Finally in your API replace {firewallId} with the id number of the firewall.