Skip to main content

diagrid agent update

Update an Agent

Description

Update an Agent in a project.

diagrid agent update <agent> [flags]

Examples


# Set or update the Agent endpoint
diagrid agent update my-agent --project my-project --endpoint https://myagent.myorg.com/

# Remove the Agent endpoint (make it identity-only)
diagrid agent update my-agent --project my-project --endpoint ""

# Stop archiving failed workflows, leaving the other archive settings untouched
diagrid agent update my-agent --archive-failed=false

# Disable workflow-history archiving
diagrid agent update my-agent --archive-binding-name ""

Options

-p, --project string Name of existing project
-e, --endpoint string Endpoint used to establish outbound connectivity from the Agent to your external application. Pass an empty value to remove it
--regenerate-api-token Regenerate the API token for this Agent's backing App ID
-w, --wait Wait for long-running resource update to finish
--archive-binding-name string Output-binding component name to write archived workflow history through. Setting this enables archiving. Pass an empty value to disable archiving
--archive-binding-type string Binding component type for the archive destination (e.g., "bindings.aws.s3")
--archive-completed Archive workflows that reach the Completed terminal state. Pass =false to stop archiving them
--archive-failed Archive workflows that reach the Failed terminal state. Pass =false to stop archiving them
--archive-terminated Archive workflows that reach the Terminated terminal state. Pass =false to stop archiving them
-h, --help help for update

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO