---
search:
  tags:
    - agents
    - PUT
seo:
  description: >-
    Replaces the document whole. An omitted field takes its default… Reference
    for the PUT /v1/agents/{agent_id}/security endpoint in the Subako Public API
    API.
sidebar:
  label: Replace an agent's security document
  badge: PUT
title: Replace an agent's security document
type: openapi-operation
---
Replaces the document whole. An omitted field takes its default rather than its current value, so send every field you mean to keep.

<Operation source="api" id="set-agent-security" />
