Platform administrators only: allow or stop an organization extending the outbound allowlist. Revoking keeps its patterns but stops enforcing them.
const url = 'https://app.everruns.com/api/v1/orgs/example/egress-allowlist/grant';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"granted":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://app.everruns.com/api/v1/orgs/example/egress-allowlist/grant \ --header 'Content-Type: application/json' \ --data '{ "granted": true }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Prefixed public identifier
Request Bodyrequired
Section titled “Request Bodyrequired”Body of PUT /v1/orgs/{org}/egress-allowlist/grant.
object
Allow (true) or stop (false) this organization extending the
allowlist. Revoking keeps its patterns but stops enforcing them.
Examplegenerated
{ "granted": true}Responses
Section titled “ Responses ”Success
An organization’s egress allowlist extension.
object
Whether the caller may edit the patterns (an organization admin; the
edit also needs granted).
Whether the caller may grant or revoke (a platform administrator).
Whether a platform administrator allowed this organization to extend the deployment’s outbound allowlist. Patterns are enforced only while this is true.
Most patterns one organization may add.
The deployment’s egress policy: open, curated-writes, or
curated-all. Extensions only matter in a curated mode.
Host patterns this organization adds to the allowlist: example.com,
*.example.com, or an https://example.com/path/ prefix.
Example
{ "mode": "curated-writes"}Platform user access required
Organization not found