Update Template
PUT/template/:template_id
The Update Template API enables you to modify and update the details of a specific template.
Request
Path Parameters
template_id stringrequired
ID of the template that needs to be updated
- application/json
Body
Provide below parameter to update templates (at least one parameter required)
name string
note string
description string
folderId string
Responses
- 200
- 400
- 404
- 405
Template updated successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId string
updatedAt date
{
"objectId": "asd2HsP4Hp",
"updatedAt": "2023-10-07T16:49:56.000Z"
}
Please provide valid field names!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Please provide valid field names!"
}
Template not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Template not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...