Setup Template

Update

Update an existing Setup Template record by ID.

put/api/cp/setup/template/{id}

Path parameters

idinteger required

Id identifier

Request body

idinteger

Id

account_idinteger

Account Id

company_idinteger

Company Id

app_idstring

App Id

namestring required

Name

subjectstring

Subject

textstring

Text

htmlstring

Html

smsstring

Sms

scriptstring

Script

Example request

{
  "id": 12345,
  "account_id": 1,
  "company_id": 1,
  "app_id": 1,
  "name": "Example Name",
  "subject": "example_subject",
  "text": "Sample text text content",
  "html": "Sample html text content",
  "sms": "example_sms",
  "script": "Sample script text content"
}

Response

Operation completed successfully

statusstring

Operation status

Example response

{
  "status": "OK"
}

Changes