Skip to main content
PUT
Update Template

Description

PUT /defaultsettings/templates/ Description: Update an existing template. Only the template creator can update it (unless it’s a system template). Authorization:
  • Required role: admin or higher
Method: PUT Path Parameters: Request Body:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Path Parameters

templateId
string<uuid>
required

ID of the template to update

Body

application/json
name
string
description
string
settings
object

The actual settings data organized by category

isPublic
boolean
tags
string[]

Response

Template updated successfully

success
boolean
Example:

true

message
string
Example:

"Template updated successfully"

data
object

A reusable template for default settings