Update template by ID
PUT/template/:template_id
Update template by ID
Request
Path Parameters
template_id stringrequired
ID of the template that needs to be updated
Header Parameters
x-api-token stringrequired
Example: opensign.xxxx
- 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
code number
message string
result
object
objectId string
{
"code": 200,
"message": "Template upated sucessfully",
"result": {
"objectId": "asd2HsP4Hp"
}
}
Please provide valid field names!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 400,
"message": "Please provide valid field names!"
}
Template not found!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 404,
"message": "Template not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
code number
message string
{
"code": 405,
"message": "Invalid API token!"
}
Loading...