Skip to main content

Modify Email Templates

This operation modifies the email templates

Path Parameters
  • EmailTemplateId integer required

    Id of Email Template

Request Body
  • name string

    Name of template

  • description string

    Description of template

  • emailTemplateId integer

    Id of template

  • emailTemplateTypeId integer

    Id of template type

  • ownerCompany object
  • providerId integer

    Company id

  • locale object
  • localeId integer

    Locale id

  • from object
  • fullName string

    From name

  • email string

    From email

  • cc string

    cc addresses

  • bcc string

    bcc addresses

  • subject string

    Subject of mail

  • emailBody string

    Body of mail

  • isDefault boolean

    True if email template is default

Responses

OK


Schema
  • emailTemplateEntity object
  • emailTemplateId integer

    Id of email template

  • error object
  • errorMessage string

    Error message

  • errorCode integer

    Error code

PUT /emailtemplates/:emailtemplateid    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
EmailTemplateId — path required
Body

{
"name": "string",
"description": "string",
"emailTemplateId": 0,
"emailTemplateTypeId": 0,
"ownerCompany": {
"providerId": 0
},
"locale": {
"localeId": 0
},
"from": {
"fullName": "string",
"email": "string"
},
"cc": "string",
"bcc": "string",
"subject": "string",
"emailBody": "string",
"isDefault": true
}
Accept
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/EmailTemplates/:EmailTemplateId' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"name": "string",
"description": "string",
"emailTemplateId": 0,
"emailTemplateTypeId": 0,
"ownerCompany": {
"providerId": 0
},
"locale": {
"localeId": 0
},
"from": {
"fullName": "string",
"email": "string"
},
"cc": "string",
"bcc": "string",
"subject": "string",
"emailBody": "string",
"isDefault": true
}'