Skip to content
Everruns Cloud is open in early access. Run agents without operating the platform.

Replace the organization's outbound allowlist extension. Requires an organization admin and a grant from a platform administrator. Patterns must name public hosts: `example.com`, `*.example.com`, or an `https://example.com/path/` prefix.

PUT
/v1/orgs/{org}/egress-allowlist
curl --request PUT \
--url https://app.everruns.com/api/v1/orgs/example/egress-allowlist \
--header 'Content-Type: application/json' \
--data '{ "patterns": [ "example" ] }'
org
required
string

Prefixed public identifier

Media typeapplication/json

Body of PUT /v1/orgs/{org}/egress-allowlist.

object
patterns
required

The full list of host patterns; replaces the stored list. Blank entries are ignored and duplicates collapsed.

Array<string>
Examplegenerated
{
"patterns": [
"example"
]
}

Success

Media typeapplication/json

An organization’s egress allowlist extension.

object
can_edit
required

Whether the caller may edit the patterns (an organization admin; the edit also needs granted).

boolean
can_grant
required

Whether the caller may grant or revoke (a platform administrator).

boolean
granted
required

Whether a platform administrator allowed this organization to extend the deployment’s outbound allowlist. Patterns are enforced only while this is true.

boolean
max_patterns
required

Most patterns one organization may add.

integer
mode
required

The deployment’s egress policy: open, curated-writes, or curated-all. Extensions only matter in a curated mode.

string
patterns
required

Host patterns this organization adds to the allowlist: example.com, *.example.com, or an https://example.com/path/ prefix.

Array<string>
Example
{
"mode": "curated-writes"
}

Invalid pattern or too many patterns

Not an organization admin, or the organization is not granted

Organization not found