Update cloud onboarding deployment
- Base URL
-
https://{kibana_url}
- PUT /api/fleet/cloud_onboarding_deployments/{id}
- PUT /s/{space_id}/api/fleet/cloud_onboarding_deployments/{id}
Update a cloud onboarding deployment by ID.
Required authorization
- Privileges fleet-agent-policies-all or integrations-all
Path parameters
-
space_idstringoptional -
An identifier for the space. If
space_idis not provided in the URL, the default space is used. Refer to Spaces for more information.
Request body
-
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based deployments. Single-element for new-policy deploys; multiple for existing-policy deploys targeting several policies.
-
authMethodenumnullable -
Authentication method. Refreshed on each successful deploy so a credential-method change between deploys is reflected on resume.
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_rolenull -
deploymentIdstring · max length: 2048 -
CFN stack ARN (or equivalent); provided by the client after manual deployment.
-
ecfStacksobject[] · max items: 10 -
ECF CloudFormation stacks to record for this deployment.
-
mechanismsenum[] · max items: 10 -
Delivery mechanisms active in this deployment. Replaces the stored mechanisms array.
-
Values:
managed_integrationecfagent_based -
packagePolicyIdsstring[] · max items: 1000 -
Package policy IDs created for this deployment (managed_integration and agent_based).
Responses
Successful response
-
itemobjectrequired -
agentPolicyIdsstring[] · max items: 1000 -
Agent policy IDs for agent_based deployments. Single-element for new-policy deploys; multiple for existing-policy deploys targeting several policies.
-
apiKeyIdstring -
Elasticsearch API key ID for push mechanisms (ecf). Set by the backend; used for key rotation/revocation.
-
authMethodenum -
Authentication method. Allowed values depend on the delivery mechanism:
- managed_integration: identity_federation | static_keys
- agent_based: static_keys (direct_access_keys) | temporary_keys | shared_credentials | assume_role
-
Values:
identity_federationstatic_keystemporary_keysshared_credentialsassume_role -
connectorIdstring -
ID of the fleet-cloud-connector this deployment belongs to. Absent for static-keys deployments.
-
ecfStacksobject[] · max items: 10 -
ECF CloudFormation stacks launched as part of this deployment. Written by the wizard after the user clicks Launch.
-
packagePolicyIdsstring[] · max items: 1000 -
Package policy IDs created for this deployment (managed_integration and agent_based).
-
policyIdsByInstancemap string to string -
instanceId → policyId mapping persisted after deploy. Hydrated into the wizard on resume to enable cleanup of stale policies when services are removed.
-
<string>string · max length: 255
Bad Request