Skip to main content

Add a trusted network to a configuration

post/v1/secrets/configs/config/trusted_ips

Requires admin access to the environment.

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Query Parameters

  • project stringrequired

    Project alias

  • config stringrequired

    Configuration alias: <environment> is the root configuration, <environment>/<name> is a branch or a personal configuration (<environment>/personal), for example dev/local

Request body

    cidrstringrequired

    Network in CIDR notation, e.g. 203.0.113.0/24

    Example: 203.0.113.0/24

Response

    builtinboolean

    Built-in 0.0.0.0/0 entry, created together with the config

    cidrstring

    Network in CIDR notation, e.g. 203.0.113.0/24

    Example: 203.0.113.0/24
    created_atstring<date-time>

    Creation date

    idinteger<int64>

    Identifier

    Example: 3