UiPath Documentation
uipath-cli
latest
false
Guia do usuário da UiPath CLI
Importante :
Este conteúdo foi traduzido com auxílio de tradução automática. A localização de um conteúdo recém-publicado pode levar de 1 a 2 semanas para ficar disponível.

uip é conexões

Sintaxe e opções para "uip is Connections", que gerencia sessões do OAuth entre um tenant da UiPath e conectores externos.

uip is connections manages the tenant's OAuth sessions against connectors. A connection is the authenticated link between a UiPath tenant folder and an external account; it carries the tokens that resources run and activities use at runtime. The verbs cover discovery (list, export), authentication (create, edit), health checks (ping), and management (rename, set-default, update-polling-interval, base-url, delete). create and edit open the connector's OAuth URL in a browser and poll the server for completion (5-second interval, 5-minute total timeout).

Resumo​

uip is connections <verb> [options]
uip is connections <verb> [options]

Verbo​

TextoFinalidade
listList connections, optionally scoped to a connector, folder, or BYOA status.
exportExport every connection (across all folders) for audit.
createCrie uma nova conexão por meio do fluxo OAuth do conector.
pingVerifique se uma conexão está habilitada e acessível no momento.
editAutentique novamente uma conexão existente por meio do fluxo do OAuth.
renameRename an existing connection.
set-defaultMark a connection as the default for its connector.
update-polling-intervalChange a connection's polling interval.
base-urlGet the API base URL a connection resolves to.
deleteDelete a connection (destructive, requires -y/--yes).

uip é lista de conexões​

List connections in the tenant's default scope. Optional positional <connector-key> filters the result to one connector; flags can scope by folder, connection ID, or BYOA status.

Argumentos​

NameRequiredFinalidade
[connector-key]nãoChave de conector pela qual filtrar (por exemplo, uipath-zoho-desk). Omita para listar todos os conectores.

Opções​

ShortLongValorPadrãoDescription
—--folder-keyUUID—Search connections in a specific folder. Must be a UUID. Mutually exclusive with --all-folders.
—--connection-idid—Filtre para um ID de conexão específico.
—--byoaBandeiradesativadaFilter to BYOA (Bring Your Own Account) connections only.
—--all-foldersBandeiradesativadaSearch connections across all folders instead of the default scope. Mutually exclusive with --folder-key — combining them fails with a Failure before any request is made.
—--refreshBandeiradesativadaForça a nova busca da API, ignorando o cache.

Exemplos​

uip is connections list

uip is connections list uipath-zoho-desk

uip is connections list --byoa --all-folders

uip is connections list uipath-zoho-desk --refresh \
    --output-filter 'Data[].{id:Id, state:State}'
uip is connections list

uip is connections list uipath-zoho-desk

uip is connections list --byoa --all-folders

uip is connections list uipath-zoho-desk --refresh \
    --output-filter 'Data[].{id:Id, state:State}'

Formato dos dados (--output json)​

{
  "Code": "ConnectionList",
  "Data": [
    {
      "Id": "a1b2c3d4-0000-0000-0000-000000000001",
      "Name": "Zoho Desk - Prod",
      "ConnectorKey": "uipath-zoho-desk",
      "ConnectorName": "Zoho Desk",
      "State": "Enabled",
      "Owner": "user@example.com",
      "IsDefault": "No",
      "ByoaConnection": "No",
      "ElementInstanceId": 123456,
      "Folder": "Shared",
      "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001",
      "Created": "2026-01-10T10:00:00.000Z",
      "Updated": "2026-01-10T10:00:00.000Z"
    }
  ]
}
{
  "Code": "ConnectionList",
  "Data": [
    {
      "Id": "a1b2c3d4-0000-0000-0000-000000000001",
      "Name": "Zoho Desk - Prod",
      "ConnectorKey": "uipath-zoho-desk",
      "ConnectorName": "Zoho Desk",
      "State": "Enabled",
      "Owner": "user@example.com",
      "IsDefault": "No",
      "ByoaConnection": "No",
      "ElementInstanceId": 123456,
      "Folder": "Shared",
      "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001",
      "Created": "2026-01-10T10:00:00.000Z",
      "Updated": "2026-01-10T10:00:00.000Z"
    }
  ]
}

Se algumas conexões estiverem desabilitadas, a resposta carregará um campo Warning ao lado de Data. Um --folder-key inválido que não é um UUID é rejeitado antecipadamente.

uip is connections export​

Export every connection across all folders, for audit purposes. Takes no arguments or connection-scoping options — it always covers the full tenant.

Argumentos​

Nenhum.

Exemplo​

uip is connections export
uip is connections export

Formato dos dados (--output json)​

{
  "Code": "ConnectionExport",
  "Data": {
    "a1b2c3d4-0000-0000-0000-000000000001": {
      "id": "a1b2c3d4-0000-0000-0000-000000000001",
      "name": "Zoho Desk - Prod",
      "state": "Enabled"
    }
  }
}
{
  "Code": "ConnectionExport",
  "Data": {
    "a1b2c3d4-0000-0000-0000-000000000001": {
      "id": "a1b2c3d4-0000-0000-0000-000000000001",
      "name": "Zoho Desk - Prod",
      "state": "Enabled"
    }
  }
}

Data is a map keyed by connection ID — not an array. When the tenant has no connections at all, the response is instead {"Code": "Message", "Data": {"Message": "No connections found to export."}}.

uip são conexões criadas​

Crie uma nova conexão por meio do fluxo OAuth do conector. A CLI abre o URL de autenticação no seu navegador (a menos que você passe --no-browser) e pesquisa o servidor para conclusão. Intervalo de pesquisa: 5 segundos. Tempo limite total: 5 minutos.

Argumentos​

NameRequiredFinalidade
<connector-key>simChave de conector, por exemplo uipath-zoho-desk

Opções​

ShortLongValorPadrãoDescription
—--no-browserBandeiradesativadaNão abra o navegador automaticamente; imprimir o URL para navegação manual.
—--no-waitBandeiradesativadaReturn the pending authorization details (SessionId, AuthUrl) immediately instead of polling for completion.

Exemplos​

uip is connections create uipath-zoho-desk

# Headless / CI-friendly — print the URL instead of launching a browser
uip is connections create uipath-zoho-desk --no-browser

# Return immediately with the pending session instead of polling
uip is connections create uipath-zoho-desk --no-browser --no-wait
uip is connections create uipath-zoho-desk

# Headless / CI-friendly — print the URL instead of launching a browser
uip is connections create uipath-zoho-desk --no-browser

# Return immediately with the pending session instead of polling
uip is connections create uipath-zoho-desk --no-browser --no-wait

Formato dos dados (--output json)​

{
  "Code": "ConnectionCreated",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000010",
    "ConnectionName": "Zoho Desk",
    "Connector": "Zoho Desk",
    "State": "Enabled",
    "Owner": "user@example.com",
    "Folder": "Shared",
    "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001"
  }
}
{
  "Code": "ConnectionCreated",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000010",
    "ConnectionName": "Zoho Desk",
    "Connector": "Zoho Desk",
    "State": "Enabled",
    "Owner": "user@example.com",
    "Folder": "Shared",
    "FolderKey": "f0f0f0f0-0000-0000-0000-000000000001"
  }
}

With --no-wait, the response is instead the pending authorization:

{
  "Code": "ConnectionAuthorizationPending",
  "Data": {
    "Status": "AuthorizationPending",
    "SessionId": "s1000000-0000-0000-0000-000000000001",
    "AuthUrl": "https://.../authorize?...",
    "Instructions": "Open AuthUrl to authorize the connection, then run 'uip is connections list' or 'uip is connections ping <connection-id>' to verify the connection.",
    "Connector": "uipath-zoho-desk"
  }
}
{
  "Code": "ConnectionAuthorizationPending",
  "Data": {
    "Status": "AuthorizationPending",
    "SessionId": "s1000000-0000-0000-0000-000000000001",
    "AuthUrl": "https://.../authorize?...",
    "Instructions": "Open AuthUrl to authorize the connection, then run 'uip is connections list' or 'uip is connections ping <connection-id>' to verify the connection.",
    "Connector": "uipath-zoho-desk"
  }
}

Modos de falha:

  • O usuário recusa ou a autenticação falha: Failure com a mensagem do servidor; saída 1.
  • Tempo limite de enquete (5 minutos): Failure: "Authentication timed out after 5 minutes"; saída 2.
  • Falha no transporte de pesquisa: Failure; saída 1.
  • Interrompido/anulado (Ctrl+C): Failure; saída 1.

uip é conexões ping​

Verifique se uma conexão está habilitada e acessível no momento.

Argumentos​

NameRequiredFinalidade
<connection-id>simID de conexão (UUID) retornado por connections list ou connections create.

Opções​

ShortLongValorPadrãoDescription
—--force-refreshBandeiradesativadaForce a live connection status refresh instead of using a cached status.

Exemplos​

uip is connections ping a1b2c3d4-0000-0000-0000-000000000001

uip is connections ping a1b2c3d4-0000-0000-0000-000000000001 --force-refresh
uip is connections ping a1b2c3d4-0000-0000-0000-000000000001

uip is connections ping a1b2c3d4-0000-0000-0000-000000000001 --force-refresh

Formato dos dados (--output json)​

{
  "Code": "ConnectionPing",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Status": "Enabled",
    "Message": "Connection is active."
  }
}
{
  "Code": "ConnectionPing",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Status": "Enabled",
    "Message": "Connection is active."
  }
}

Uma conexão desabilitada ou inacessível emite Failure com Instructions: "Run 'uip is connections edit <id>' to re-authenticate.".

uip é edição de conexões​

Autentique novamente uma conexão existente. Mesmo fluxo de OAuth que create, direcionado a um ID de conexão existente em vez de emitir um novo. Mesmo contrato de pesquisa e códigos de saída.

Argumentos​

NameRequiredFinalidade
<connection-id>simID de conexão para autenticar novamente.

Opções​

ShortLongValorPadrãoDescription
—--no-browserBandeiradesativadaNão abra o navegador automaticamente; imprimir o URL para navegação manual.
—--no-waitBandeiradesativadaReturn the pending authorization details immediately instead of polling for completion.

Exemplos​

uip is connections edit a1b2c3d4-0000-0000-0000-000000000001

uip is connections edit a1b2c3d4-0000-0000-0000-000000000001 --no-browser
uip is connections edit a1b2c3d4-0000-0000-0000-000000000001

uip is connections edit a1b2c3d4-0000-0000-0000-000000000001 --no-browser

Formato dos dados (--output json)​

{
  "Code": "ConnectionEdited",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "State": "Enabled"
  }
}
{
  "Code": "ConnectionEdited",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "State": "Enabled"
  }
}

With --no-wait, the response is the same pending-authorization shape shown under create above.

uip is connections rename​

Rename an existing connection.

Argumentos​

NameRequiredFinalidade
<connection-id>simConnection ID to rename.

Opções​

ShortLongValorPadrãoDescription
—--nametext—Required. New connection name. Cannot be empty.

Exemplo​

uip is connections rename a1b2c3d4-0000-0000-0000-000000000001 \
    --name "Zoho Desk - Production"
uip is connections rename a1b2c3d4-0000-0000-0000-000000000001 \
    --name "Zoho Desk - Production"

Formato dos dados (--output json)​

{
  "Code": "ConnectionRenamed",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Name": "Zoho Desk - Production"
  }
}
{
  "Code": "ConnectionRenamed",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Name": "Zoho Desk - Production"
  }
}

A conflicting or invalid new name fails with Failure, pointing at connections list to verify the ID and pick a non-conflicting name.

uip is connections set-default​

Mark a connection as the default connection for its connector — the one picked automatically where a connector allows only one active default.

Argumentos​

NameRequiredFinalidade
<connection-id>simConnection ID to set as default.

Exemplo​

uip is connections set-default a1b2c3d4-0000-0000-0000-000000000001
uip is connections set-default a1b2c3d4-0000-0000-0000-000000000001

Formato dos dados (--output json)​

{
  "Code": "ConnectionSetDefault",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Message": "Connection set as default."
  }
}
{
  "Code": "ConnectionSetDefault",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Message": "Connection set as default."
  }
}

uip is connections update-polling-interval​

Change how often the connection polls for events (used by event-driven activities/triggers built on this connection).

Argumentos​

NameRequiredFinalidade
<connection-id>simConnection ID to update.

Opções​

ShortLongValorPadrãoDescription
—--polling-intervalminutos—Required. New polling interval, in minutes. Must be a positive integer.

Exemplo​

uip is connections update-polling-interval a1b2c3d4-0000-0000-0000-000000000001 \
    --polling-interval 15
uip is connections update-polling-interval a1b2c3d4-0000-0000-0000-000000000001 \
    --polling-interval 15

Formato dos dados (--output json)​

{
  "Code": "ConnectionPollingIntervalUpdated",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "PollingIntervalInMinutes": 15
  }
}
{
  "Code": "ConnectionPollingIntervalUpdated",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "PollingIntervalInMinutes": 15
  }
}

A non-integer or non-positive value fails client-side before any request is sent. If the connection doesn't support a configurable polling interval, the server rejects the request — verify the connection ID with connections list --refresh and confirm the connector supports polling.

uip is connections base-url​

Get the API base URL a connection currently resolves to — useful when building a raw HTTP request against the connector's underlying API.

Argumentos​

NameRequiredFinalidade
<connection-id>simConnection ID to inspect.

Exemplo​

uip is connections base-url a1b2c3d4-0000-0000-0000-000000000001
uip is connections base-url a1b2c3d4-0000-0000-0000-000000000001

Formato dos dados (--output json)​

{
  "Code": "ConnectionBaseUrl",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "BaseUrl": "https://api.example.com/v2"
  }
}
{
  "Code": "ConnectionBaseUrl",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "BaseUrl": "https://api.example.com/v2"
  }
}

Failure points at connections list to verify the ID and confirm the connection is Enabled.

uip is connections delete​

Delete a connection. This is irreversible — the CLI never prompts.

Argumentos​

NameRequiredFinalidade
<connection-id>simConnection ID to delete.

Opções​

ShortLongValorPadrãoDescription
-y--yesBandeira—Required. Confirms this irreversible operation.

Exemplo​

uip is connections delete a1b2c3d4-0000-0000-0000-000000000001 --yes
uip is connections delete a1b2c3d4-0000-0000-0000-000000000001 --yes

Formato dos dados (--output json)​

{
  "Code": "ConnectionDeleted",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Message": "Connection deleted successfully."
  }
}
{
  "Code": "ConnectionDeleted",
  "Data": {
    "ConnectionId": "a1b2c3d4-0000-0000-0000-000000000001",
    "Message": "Connection deleted successfully."
  }
}

An unknown connection ID fails with Failure pointing at connections list --all-folders to find it.

Veja também​

Esta página foi útil?

Conectar

Precisa de ajuda? Suporte

Quer aprender? Academia UiPath

Tem perguntas? Fórum do UiPath

Fique por dentro das novidades