Firewall settings
GET/vms/:vm_id/firewall
Read the current revision before any change and send it back. A conflict requires rereading settings before a new command. Rule order matters; reorder must contain every rule ID exactly once. PUT replaces the full rule. position is zero-based. At most 100 rules; ports are strings such as "443" or "8000-8010" and apply only to TCP/UDP. Source/destination accept an IP or CIDR of matching IP versions. System SMTP restrictions cannot be disabled here.
Request rules and errors · Lifecycle · Webhooks
Request
Responses
- 200
- 401
- 404
- 409
- 422
- 500
- 503
Successful response
Missing or invalid key, mismatched ID, or inactive integration
Resource not found in this integration
Business or state conflict; inspect detail
Invalid request fields or unsupported parameters
Unexpected server error
Service unavailable or result unconfirmed; for a mutation retain its idempotency key