Skip to main content
PATCH
Set hosting firewall rules

Autorisations

Authorization
string
header
requis

API token (olab_…) created in Settings → API tokens or with orbitlab login.

En-têtes

X-OrbitLab-Org
string

Organization to act on (id or slug) for tokens that can access several organizations. Defaults to your first organization.

Paramètres de chemin

id
string
requis

Hosting id (the hosting order item id).

Corps

application/json
ipAllowlist
string

Comma or newline separated IPs/CIDRs allowed to reach the site; empty to allow all.

ipBlocklist
string

Comma or newline separated IPs/CIDRs to block; empty for none.

Réponse

success.

The response is of type object.