Delete a firewall rule
DELETE
Removes a firewall rule from the VPS. Removing the port 22 rule can block SSH access.
Access: API key: vm:write · Session: developer, admin or owner.
- Use the server console if you lose SSH access.
header
AuthorizationBearer <token>Send Authorization: Bearer <token>. A token is an API key (lb_live_…, scoped, for programs) or a session (lb_sess_…, from signup or login, for people). See Authentication above.
id*stringThe resource id.
rule_id*stringA rule id from the list.
X-Org-ID?stringSessions only: act on this organization (you must be a member). Default: your first organization.
Deleted
curl -X DELETE 'https://layerbeat.com/v1/vms/string/firewall-rules/fw_0c9e71aac8634b64'Empty