This API v2 documentation is currently still on progress. For any issue, please contact support@runcloud.io
Authorization: Bearer ********************
{
"type": "rich",
"port": 9000,
"protocol": "tcp",
"ipAddress": "192.168.43.0/24",
"firewallAction": "accept"
}
curl --location -g --request POST 'https://manage.runcloud.io/api/v2/servers/{{serverId}}/security/firewalls' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "rich",
"port": 9000,
"protocol": "tcp",
"ipAddress": "192.168.43.0/24",
"firewallAction": "accept"
}'
[
{
"id": 113,
"type": "rich",
"port": "9000",
"protocol": "tcp",
"ipAddress": "192.168.43.0/24",
"firewallAction": "accept",
"created_at": "2024-07-24 09:16:41"
}
]