Skip to main content
Infrastructure/Agents

UpdateManagedAgent

Update displayName and/or agentLifecycleAlertDestination selected by updateMask. Requires agent.config.write in the stored Agent scope and active platform access; offline Agents may be updated. The last committed value wins. requestId is for tracing, not response replay. No task or remote configuration is created. User Bearer authentication and the stated ZIAM permission checks apply only when auth.require_user=true; with the default false setting, this operation works without user authentication.

PATCH/api/v1/lifecycle/managed-agent/agents/{id}

Operation ID

UpdateManagedAgent

Since

1.3.0

Execution Mode

Synchronous

Auth Context

No auth required

Request Inputs

application/json

Path Parameters

  • id
    StringRequired

    Unique identifier of the managed agent

Body Fields

  • requestId
    String

    Request id for this resource

    Example: value

  • updateMask
    List

    Nonempty subset of displayName and agentLifecycleAlertDestination. Unselected fields are ignored. Duplicate or unknown paths are rejected.

  • displayName
    String

    Display name for this resource

    Example: value

  • agentLifecycleAlertDestination
    String

    zmetis or none. Applies only when selected by update_mask.

    Example: value

Responses

200 OK

A successful response.

Content-Type: application/json

Response body root type: object

  • agentId
    String

    Agent id for this resource

    Example: value

  • displayName
    String

    Display name for this resource

    Example: value

  • agentLifecycleAlertDestination
    String

    Agent lifecycle alert destination for this resource

    Example: value

  • rowVersion
    String

    Row version for this resource

    Example: 10

    {"format":"int64"}