Update warehouse public access policy
View request and response examples ↓
Updates the warehouse public access policy for SaaS and BYOC Warehouses.
When publicAccessPolicy is ALLOWLIST_ONLY, include the desired allowlist rules in rules.
Authorization
API key for /v1 requests.
Path parameters
Warehouse ID.
Headers
Idempotency key for write requests.
Use a globally unique UUID or similar token for each logical write request.
Never reuse a RequestId across different operations or payloads.
You can safely retry the same RequestId only when the method, path, path parameters, query string, and request body are identical.
Minimum length
1Example
8f6b0c2e-6a9a-4f2e-9c4c-0a1f9a2b7d31Request body
application/jsonrequired
Public access mode; deny all, allow all, or allow only listed sources.
Allowed values
DENY_ALLALLOW_ALLALLOWLIST_ONLYResponse
Public access policy updated successfully.