PATCH
https://stoplight.io/mocks/replyteam/reply/765516802
/
templates
/
{id}
curl --request PATCH \
  --url https://stoplight.io/mocks/replyteam/reply/765516802/templates/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "id": 12345,
  "name": "Sales Follow-up",
  "subject": "Re: Our previous conversation",
  "body": "Hi {{firstName}},\n\nI hope this email finds you well. I wanted to follow up on our previous conversation about...",
  "categoryId": "123"
}'
{
  "id": 12345,
  "name": "Sales Follow-up",
  "subject": "Re: Our previous conversation",
  "body": "Hi {{firstName}},\n\nI hope this email finds you well. I wanted to follow up on our previous conversation about...",
  "categoryId": "123"
}

Path Parameters

id
string
required

Template Id

Body

application/json

Response

200 - application/json

Template updated successfully

The response is of type object.