- Información general
- Comience ya
- Conceptos
- Uso de UiPath CLI
- Guías prácticas
- Recetas de CI/CD
- Referencia de los comandos
- Información general
- Códigos de salida
- Opciones globales
- agente de código UIP
- uip coder
- uip context-grounding
- UIP Docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- añadir-entidad-de-datos-de-prueba
- añadir-cola-de-datos-de-prueba
- añadir-variación-de-datos-de-prueba
- Analizar
- Crear
- Crear proyecto
- Diferencia
- Buscar actividades
- obtener-reglas-del-analizador
- obtener-predeterminado-actividad-xaml
- obtener-errores
- obtener-casos-de-prueba-manual
- obtener-pasos-de-prueba-manual
- get-library-object-repository
- get-object-repository
- obtener versiones
- get-workflow-example
- indicar-aplicación
- indicar-elemento
- inspeccionar-paquete
- install-data-fabric-entities
- instalar-o-actualizar-paquetes
- enumerar-data-fabric-entities
- list-instances
- ejemplos-de-flujo-de-trabajo-de-lista
- Paquete
- Publicar
- remote
- restore
- run, debug & execution
- archivo de ejecución
- plantillas-de-búsqueda
- iniciar-studio
- detener la ejecución
- tm
- UIA
- uip tasks
- Seguimientos de UIP
- uip traces feedback
- Migración
- Referencia y soporte
Syntax and options for `uip admin ip-restriction`, which manages IP-range allowlisting, enforcement, and bypass rules for an organization via the Access Policy Management Service.
uip admin ip-restriction manages UiPath IP-restriction policies for the caller's organization, backed by the Access Policy Management Service (APMS). Four subcommand groups: ip-ranges (the allowlist of trusted CIDRs/IP ranges), enforcement (the on/off switch that actually gates access by that allowlist), bypass-rules (URL-pattern exceptions to allowlisting), and my-ip (shows the public IP the platform sees for the caller — the tool a reader uses before touching either of the other two).
Lockout risk. Enabling enforcement (enforcement enable) or removing an IP range entry (ip-ranges delete) while enforcement is on can lock the caller — or the entire organization — out of UiPath if the wrong IP ends up excluded. Both commands require --confirm, and the CLI runs its own pre-flight safety checks (below) before making the call — but the checks are best-effort, not a substitute for double-checking with my-ip and ip-ranges list first.
Sinopsis
uip admin ip-restriction ip-ranges list [--filter <fragment>]
uip admin ip-restriction ip-ranges get [<id>] [--cidr <cidr>]
uip admin ip-restriction ip-ranges create [--name <name> --cidr <cidr>... | --name <name> --start-ip <ip> --end-ip <ip> | --file <path>] [--expires <duration>]
uip admin ip-restriction ip-ranges update <id> [--name <name>] [--cidr <cidr>] [--start-ip <ip>] [--end-ip <ip>] [--file <path>]
uip admin ip-restriction ip-ranges delete [<id>] [--cidr <cidr>] --confirm
uip admin ip-restriction enforcement get
uip admin ip-restriction enforcement enable --confirm
uip admin ip-restriction enforcement disable
uip admin ip-restriction bypass-rules list [--filter <fragment>]
uip admin ip-restriction bypass-rules get <id>
uip admin ip-restriction bypass-rules create --file <path>
uip admin ip-restriction bypass-rules update <id> [--regex-entry <pattern> | --file <path>]
uip admin ip-restriction bypass-rules delete <id>
uip admin ip-restriction my-ip
uip admin ip-restriction ip-ranges list [--filter <fragment>]
uip admin ip-restriction ip-ranges get [<id>] [--cidr <cidr>]
uip admin ip-restriction ip-ranges create [--name <name> --cidr <cidr>... | --name <name> --start-ip <ip> --end-ip <ip> | --file <path>] [--expires <duration>]
uip admin ip-restriction ip-ranges update <id> [--name <name>] [--cidr <cidr>] [--start-ip <ip>] [--end-ip <ip>] [--file <path>]
uip admin ip-restriction ip-ranges delete [<id>] [--cidr <cidr>] --confirm
uip admin ip-restriction enforcement get
uip admin ip-restriction enforcement enable --confirm
uip admin ip-restriction enforcement disable
uip admin ip-restriction bypass-rules list [--filter <fragment>]
uip admin ip-restriction bypass-rules get <id>
uip admin ip-restriction bypass-rules create --file <path>
uip admin ip-restriction bypass-rules update <id> [--regex-entry <pattern> | --file <path>]
uip admin ip-restriction bypass-rules delete <id>
uip admin ip-restriction my-ip
Every verb accepts --login-validity <minutes> (override the interactive-login token lifetime for that one call; rarely needed).
Conceptos
- Idempotent upsert on
ip-ranges create— the call is a PUT keyed on CIDR: running it twice with the same--cidris a safe no-op, not a duplicate-entry error. - Two ways to identify an entry —
ip-ranges get/deleteaccept either the entry's UUID positionally, or--cidr <cidr>to look it up by value (the CLI lists entries and matches). Passing both, or neither, is a client-side error. If--cidrmatches more than one entry, the command refuses and asks you to use the UUID instead. - Lockout-safety pre-flights —
enforcement enablefirst callsmy-ipand checks the result against every CIDR inip-ranges list; if the caller's IP isn't covered, the call is rejected before it reaches the platform.ip-ranges deleteruns a similar check only when enforcement is already on: it refuses to delete the org's only remaining entry, and refuses to delete an entry that uniquely covers the caller's own IP (unless another entry also covers it). Both checks are CIDR-only — a start/end-IP-range-only entry isn't matched by the caller-IP check, so the "last entry" check is the real backstop for those. --filevs. inline —ip-ranges create/updateandbypass-rules create/updateall accept either a full JSON request body via--file <path>, or a narrower set of inline flags. The two are mutually exclusive; passing neither (or an incomplete inline set) is a client-side error before any network call.
uip admin ip-restriction ip-ranges
Manage the organization's IP allowlist. An entry is a CIDR block, a start/end IP range, or a list of CIDRs.
uip admin ip-restriction ip-ranges list
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--filter <fragment> | String | Case-insensitive substring filter on the entry's name, applied client-side. |
Ejemplo
uip admin ip-restriction ip-ranges list --filter office
uip admin ip-restriction ip-ranges list --filter office
Forma de datos (--json de salida)
{
"Code": "ApmsIpRangesList",
"Data": [
{ "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN", "ipNetwork": "10.0.0.0/16" }
]
}
{
"Code": "ApmsIpRangesList",
"Data": [
{ "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN", "ipNetwork": "10.0.0.0/16" }
]
}
uip admin ip-restriction ip-ranges get
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
[id] | conditionally | Entry UUID. Omit only when --cidr is passed instead. |
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--cidr <cidr> | String | Look up the entry by CIDR instead of id. Mutually exclusive with the positional id; exactly one of the two is required. |
Ejemplo
uip admin ip-restriction ip-ranges get --cidr 10.0.0.0/16
uip admin ip-restriction ip-ranges get --cidr 10.0.0.0/16
Forma de datos (--json de salida)
{
"Code": "ApmsIpRangeGet",
"Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN", "ipNetwork": "10.0.0.0/16" }
}
{
"Code": "ApmsIpRangeGet",
"Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN", "ipNetwork": "10.0.0.0/16" }
}
uip admin ip-restriction ip-ranges create
Opciones
| Largo | Valor | Obligatorio | Descripción |
|---|---|---|---|
--file <path> | Ruta | conditionally | Full AddIpConfigurationRequest JSON body. Mutually exclusive with every inline flag below. |
--name <name> | String | inline mode: yes | Display name for the entry. |
--cidr <cidr> | string, repeatable | inline mode: one of --cidr or --start-ip+--end-ip | CIDR block to allow, e.g. 10.0.0.0/16. Repeat the flag to add several CIDRs in one call. Mutually exclusive with --start-ip/--end-ip. |
--start-ip <ip> | IP | paired with --end-ip | Start of an IP range (legacy shape). |
--end-ip <ip> | IP | paired with --start-ip | End of an IP range. Must be given together with --start-ip. |
--expires <duration> | <integer><m|h|d|w> | No | Optional expiry, e.g. 15m, 2h, 30d, 1w. Range: 1 minute to 10 years. |
Ejemplos
uip admin ip-restriction ip-ranges create --name 'Office VPN' --cidr 10.0.0.0/16
uip admin ip-restriction ip-ranges create --name 'Office VPN' --cidr 10.0.0.0/16
uip admin ip-restriction ip-ranges create --name 'Datacenter A' \
--cidr 10.0.0.0/16 --cidr 192.168.0.0/24 --expires 30d
uip admin ip-restriction ip-ranges create --name 'Datacenter A' \
--cidr 10.0.0.0/16 --cidr 192.168.0.0/24 --expires 30d
uip admin ip-restriction ip-ranges create --name Office --start-ip 10.0.0.1 --end-ip 10.0.0.50
uip admin ip-restriction ip-ranges create --name Office --start-ip 10.0.0.1 --end-ip 10.0.0.50
Forma de datos (--json de salida)
{ "Code": "ApmsIpRangeCreated", "Data": [{ "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN" }] }
{ "Code": "ApmsIpRangeCreated", "Data": [{ "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Office VPN" }] }
uip admin ip-restriction ip-ranges update
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<id> | Sí | Entry UUID. |
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--file <path> | Ruta | Full UpdateIpConfigurationRequest JSON body. Mutually exclusive with the inline flags below. |
--name <name> | String | Nuevo nombre para mostrar. |
--cidr <cidr> | String | New CIDR to set on the entry. |
--start-ip <ip> | IP | New start of the range. |
--end-ip <ip> | IP | New end of the range. |
At least one field (inline or --file) is required.
Ejemplo
uip admin ip-restriction ip-ranges update a1b2c3d4-0000-0000-0000-000000000001 --name 'Home VPN'
uip admin ip-restriction ip-ranges update a1b2c3d4-0000-0000-0000-000000000001 --name 'Home VPN'
Forma de datos (--json de salida)
{ "Code": "ApmsIpRangeUpdated", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Home VPN" } }
{ "Code": "ApmsIpRangeUpdated", "Data": { "id": "a1b2c3d4-0000-0000-0000-000000000001", "name": "Home VPN" } }
uip admin ip-restriction ip-ranges delete
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
[id] | conditionally | Entry UUID. Omit only when --cidr is passed instead. |
Opciones
| Largo | Valor | Obligatorio | Descripción |
|---|---|---|---|
--cidr <cidr> | String | conditionally | Look up the entry to delete by CIDR instead of id. |
--confirm | Marca | Sí | Acknowledge the lockout risk. Omitting it prints the lockout warning and fails before any lookup. |
Ejemplo
uip admin ip-restriction ip-ranges delete a1b2c3d4-0000-0000-0000-000000000001 --confirm
uip admin ip-restriction ip-ranges delete a1b2c3d4-0000-0000-0000-000000000001 --confirm
Forma de datos (--json de salida)
{ "Code": "ApmsIpRangeDeleted", "Data": {} }
{ "Code": "ApmsIpRangeDeleted", "Data": {} }
uip admin ip-restriction enforcement
Manage the organization's singleton IP-range enforcement switch. When on, only the IPs covered by ip-ranges list can reach the org; when off, the platform default applies.
uip admin ip-restriction enforcement get
Ejemplo
uip admin ip-restriction enforcement get
uip admin ip-restriction enforcement get
Forma de datos (--json de salida)
{ "Code": "ApmsEnforcementGet", "Data": { "organizationId": "<org-guid>", "status": "Disabled" } }
{ "Code": "ApmsEnforcementGet", "Data": { "organizationId": "<org-guid>", "status": "Disabled" } }
uip admin ip-restriction enforcement enable
Opciones
| Largo | Valor | Obligatorio | Descripción |
|---|---|---|---|
--confirm | Marca | Sí | Acknowledge the lockout risk. Without it, the CLI prints the warning and fails immediately, before the pre-flight check. |
Pre-flight (runs after --confirm is given): calls my-ip, then compares the result against every CIDR from ip-ranges list. If the caller's IP isn't covered, the command fails with instructions to add it first — no network call to enable enforcement is made.
Ejemplo
uip admin ip-restriction enforcement enable --confirm
uip admin ip-restriction enforcement enable --confirm
Forma de datos (--json de salida)
{ "Code": "ApmsEnforcementEnabled", "Data": {} }
{ "Code": "ApmsEnforcementEnabled", "Data": {} }
uip admin ip-restriction enforcement disable
Idempotent — safe to call when already disabled.
Ejemplo
uip admin ip-restriction enforcement disable
uip admin ip-restriction enforcement disable
Forma de datos (--json de salida)
{ "Code": "ApmsEnforcementDisabled", "Data": {} }
{ "Code": "ApmsEnforcementDisabled", "Data": {} }
uip admin ip-restriction bypass-rules
Manage URL-pattern exceptions to IP allowlisting — a narrowly-scoped bypass for a specific app/folder/tenant URL pattern when the org otherwise has enforcement on.
uip admin ip-restriction bypass-rules list
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--filter <fragment> | String | Case-insensitive substring filter on regexEntry or appName, applied client-side. |
Ejemplo
uip admin ip-restriction bypass-rules list --filter contoso
uip admin ip-restriction bypass-rules list --filter contoso
Forma de datos (--json de salida)
{ "Code": "ApmsBypassRulesList", "Data": [{ "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" }] }
{ "Code": "ApmsBypassRulesList", "Data": [{ "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" }] }
uip admin ip-restriction bypass-rules get
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<id> | Sí | Bypass rule UUID. |
Ejemplo
uip admin ip-restriction bypass-rules get b1c2d3e4-0000-0000-0000-000000000001
uip admin ip-restriction bypass-rules get b1c2d3e4-0000-0000-0000-000000000001
Forma de datos (--json de salida)
{ "Code": "ApmsBypassRulesGet", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
{ "Code": "ApmsBypassRulesGet", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
uip admin ip-restriction bypass-rules create
Opciones
| Largo | Valor | Obligatorio | Descripción |
|---|---|---|---|
--file <path> | Ruta | Sí | Full AddRegexBypassRequest JSON body — there is no inline-flag form for create. |
Ejemplo
uip admin ip-restriction bypass-rules create --file ./bypass-rule.json
uip admin ip-restriction bypass-rules create --file ./bypass-rule.json
Forma de datos (--json de salida)
{ "Code": "ApmsBypassRulesCreated", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
{ "Code": "ApmsBypassRulesCreated", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
uip admin ip-restriction bypass-rules update
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<id> | Sí | Bypass rule UUID. |
Opciones
| Largo | Valor | Descripción |
|---|---|---|
--regex-entry <pattern> | String | Replacement regex pattern — the only field the typical case needs. Mutually exclusive with --file. |
--file <path> | Ruta | Full UpdateRegexBypassRequest body, for the rarer case of updating tenant/app metadata too. Mutually exclusive with --regex-entry. |
Exactly one of --regex-entry or --file is required.
Ejemplo
uip admin ip-restriction bypass-rules update b1c2d3e4-0000-0000-0000-000000000001 --regex-entry '^.*\.contoso\.com$'
uip admin ip-restriction bypass-rules update b1c2d3e4-0000-0000-0000-000000000001 --regex-entry '^.*\.contoso\.com$'
Forma de datos (--json de salida)
{ "Code": "ApmsBypassRulesUpdated", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
{ "Code": "ApmsBypassRulesUpdated", "Data": { "id": "b1c2d3e4-0000-0000-0000-000000000001", "regexEntry": "^.*\\.contoso\\.com$" } }
uip admin ip-restriction bypass-rules delete
Argumentos
| Nombre | Obligatorio | Propósito |
|---|---|---|
<id> | Sí | Bypass rule UUID. |
Ejemplo
uip admin ip-restriction bypass-rules delete b1c2d3e4-0000-0000-0000-000000000001
uip admin ip-restriction bypass-rules delete b1c2d3e4-0000-0000-0000-000000000001
Forma de datos (--json de salida)
{ "Code": "ApmsBypassRulesDeleted", "Data": {} }
{ "Code": "ApmsBypassRulesDeleted", "Data": {} }
uip admin ip-restriction my-ip
Show the public IP the UiPath platform sees for the current caller — useful before ip-ranges create (to know what to allowlist) and before enforcement enable (to confirm you're covered).
Ejemplo
uip admin ip-restriction my-ip
uip admin ip-restriction my-ip
Forma de datos (--json de salida)
{ "Code": "ApmsMyIpGet", "Data": { "ipAddress": "<your-public-ip>" } }
{ "Code": "ApmsMyIpGet", "Data": { "ipAddress": "<your-public-ip>" } }
Ver también
- Sinopsis
- Conceptos
- uip admin ip-restriction ip-ranges
- uip admin ip-restriction ip-ranges list
- uip admin ip-restriction ip-ranges get
- uip admin ip-restriction ip-ranges create
- uip admin ip-restriction ip-ranges update
- uip admin ip-restriction ip-ranges delete
- uip admin ip-restriction enforcement
- uip admin ip-restriction enforcement get
- uip admin ip-restriction enforcement enable
- uip admin ip-restriction enforcement disable
- uip admin ip-restriction bypass-rules
- uip admin ip-restriction bypass-rules list
- uip admin ip-restriction bypass-rules get
- uip admin ip-restriction bypass-rules create
- uip admin ip-restriction bypass-rules update
- uip admin ip-restriction bypass-rules delete
- uip admin ip-restriction my-ip
- Ejemplo
- Forma de datos (--json de salida)
- Ver también