Firewall Rules
Get server firewall rule
Get a specific firewall rule associated with the server.
Processing mode: <small><code>sync</code></small>
get/orgs/{organization}/servers/{server}/firewall-rules/{rule}
Request
- Base URLhttps://forge.laravel.com/api
- AuthOAuth 2Authorization codehttps://forge.laravel.com/oauth/authorizeToken URLhttps://forge.laravel.com/oauth/tokenScopesserver:manage-network
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organizationstring required
The organization slug
serverinteger required
The server ID
ruleinteger required
The rule ID
Response
RuleResource
Example response
{
"data": {
"attributes": {
"name": "Allow HTTP",
"port": "80",
"type": "allow",
"ip_address": "192.168.1.1",
"status": "installed",
"created_at": "2025-07-29T09:00:00Z",
"updated_at": "2025-07-30T09:00:00Z"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.