﻿---
title: stack kb fleet-cloud-onboarding-instances put-fleet-cloud-onboarding-deployments-id cli command
description: Update cloud onboarding instance Behaviour flags: --dry-run — validate all inputs and exit without performing any action 
url: https://www.elastic.co/elastic/docs-builder/docs/5002/reference/elastic-cli/cli/stack/kb/fleet-cloud-onboarding-instances/put-fleet-cloud-onboarding-deployments-id
applies_to:
  - Elastic Cloud Serverless: Preview
  - Elastic Stack: Preview
---

# stack kb fleet-cloud-onboarding-instances put-fleet-cloud-onboarding-deployments-id cli command
<cli-modifiers>
</cli-modifiers>

```bash
elastic stack kb fleet-cloud-onboarding-instances put-fleet-cloud-onboarding-deployments-id \
  --id <id> \
  [options]
```

Update cloud onboarding instance
**Behaviour flags:**
`--dry-run` — validate all inputs and exit without performing any action

## Options

<definitions>
  <definition term="--id string required">
    The saved object ID of the cloud onboarding instance.
  </definition>
  <definition term="--agent-policy-ids string[]">
    Agent policy IDs for agent_based deployments. Single-element for new-policy deploys; multiple for existing-policy deploys targeting several policies.
    **Repeatable:** pass `--agent-policy-ids` multiple times to supply more than one value
  </definition>
  <definition term="--api-key-id string">
  </definition>
  <definition term="--attempt-count number">
    Incremented by callers performing a retry.
  </definition>
  <definition term="--auth-method enum">
    Authentication method. Refreshed on each successful deploy so a credential-method change between deploys is reflected on resume.
    **Values:** identity_federation, static_keys, temporary_keys, shared_credentials, assume_role
  </definition>
  <definition term="--connector-id string">
  </definition>
  <definition term="--dedicated-namespace-templates">
    Whether the global namespace uses dedicated index templates. Omit it to keep the stored value. Applied to the installed packages after a deployment.
  </definition>
  <definition term="--deployment-id string">
    CFN stack ARN (or equivalent); provided by the client after manual deployment.
  </definition>
  <definition term="--deployment-name string">
  </definition>
  <definition term="--description string">
    Integration description from the Service settings step. Send null to clear it.
  </definition>
  <definition term="--ecf-stacks string[]">
    ECF CloudFormation stacks to record for this deployment.
    **Repeatable:** pass `--ecf-stacks` multiple times to supply more than one value
  </definition>
  <definition term="--instances string[]">
    Service instances, including duplicates, from the last deployment. Replaces the stored list, so instances removed since the last deployment are dropped.
    **Repeatable:** pass `--instances` multiple times to supply more than one value
  </definition>
  <definition term="--integration-name string">
    Integration name used by the last deploy, before any per-package suffix. Refreshed on each deploy because an unedited default name follows the service selection.
  </definition>
  <definition term="--mechanisms string[]">
    Delivery mechanisms active in this deployment. Replaces the stored mechanisms array.
    **Repeatable:** pass `--mechanisms` multiple times to supply more than one value
  </definition>
  <definition term="--namespace string">
    Global data stream namespace from the Service settings step. Omit it to keep the stored value, or send null to clear it. When none is set, an agent-based deployment inherits the agent policy namespace, other deployment methods use the default namespace.
  </definition>
  <definition term="--package-names string[]">
    Names of the integration packages this deployment covers. Refreshed with the service set.
    **Repeatable:** pass `--package-names` multiple times to supply more than one value
  </definition>
  <definition term="--package-policy-ids string[]">
    Integration policy IDs created for this deployment (managed_integration and agent_based).
    **Repeatable:** pass `--package-policy-ids` multiple times to supply more than one value
  </definition>
  <definition term="--policy-ids-by-instance string">
  </definition>
  <definition term="--policy-settings string">
    Integration policy settings that apply to every integration policy of the deployment, keyed by integration policy field (for example `output_id`). Replaces the stored settings; omit it to keep them.
  </definition>
  <definition term="--service-names string">
    Display name of each service as shown in the onboarding flow, by service ID.
  </definition>
  <definition term="--services string[]">
    Current service set for this deployment. Refreshed on each successful deploy so resume after an incremental service addition restores all deployed services.
    **Repeatable:** pass `--services` multiple times to supply more than one value
  </definition>
  <definition term="--service-vars string">
    Per-service config keyed by instance ID.
  </definition>
  <definition term="--status enum">
    Deployment status.
    **Values:** pending, deploying, succeeded, failed
  </definition>
  <definition term="--status-message string">
    Error context; set when transitioning to failed.
  </definition>
  <definition term="--input-file string">
    path to a JSON file to use as command input
  </definition>
  <definition term="--dry-run">
    validate all inputs and exit without performing any action (preview changes without applying them)
  </definition>
  <definition term="--no-validate">
    skip input validation and send the request as-is
  </definition>
</definitions>


## Global Options

<definitions>
  <definition term="--output-fields string">
    comma-separated list of fields to include in output (dot-notation supported)
  </definition>
  <definition term="--output-template string">
    Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
  </definition>
  <definition term="--json">
    output as JSON
  </definition>
</definitions>