Update an existing template

Modify the properties of an existing template by providing its unique ID and updated details.

PATCH
/messages/templates/{templateId}
AuthorizationBearer <token>

In: header

Path Parameters

templateId*string

Unique identifier of the template

Request Body

application/json

The updated details for the template.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://api-testnet.dual.network/messages/templates/string" \  -H "Content-Type: application/json" \  -d '{}'
{}
{
  "code": 0,
  "message": "string",
  "details": {}
}
{
  "code": 0,
  "message": "string",
  "details": {}
}