Update an Agent template

Updates the supplied fields on an Agent template owned by the selected reseller. Read the current template first and preserve fields that are not part of the requested change.

OpenAPI

````yaml post /api/v2/templates/{templateId}
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/templates/{templateId}:
post:
tags:
- Agent Templates
summary: Update an Agent template
description: >
Updates the supplied fields on an Agent template owned by the selected
reseller. Read the current template first and preserve fields that are
not part of the requested change.
operationId: templatesPostUpdate
parameters:
- name: templateId
in: path
required: true
description: ''
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
minProperties: 1
additionalProperties: true
responses:
'200':
description: Updated Agent template
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
template:
type: object
additionalProperties: true
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token

````