Egress policy
Set a workspace override of the egress policy (new immutable version)
Same body and validation as the project policy. Optional If-Match. 409 conflict (details.reason workspace_deleted) for deleted workspaces. 422 egress_widening (details {template_egress, outside: [hosts] | ["cidrs"] | ["allow_all"]}) when the workspace’s template egress ceiling would narrow the policy.
put/v1/workspaces/{workspace_id}/egress-policy
Request
- Base URL: https://api.shardflux.dev
- URL: https://api.shardflux.dev/v1/workspaces/{workspace_id}/egress-policy
- Auth: HTTP bearer
Path parameters
workspace_idstring uuid required
UUIDv7, lowercase canonical form.
Headers
if-matchstring
Request body
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.