CentraSite Documentation : Working with the CentraSite Business UI : API Management Solutions : Managing API Keys and OAuth 2.0 Tokens : Revoking an API Key : Using Custom Email Templates for API Key Revocation
Using Custom Email Templates for API Key Revocation
Notification informing the successful processing of an API key revocation is sent to the API consumer.
You can configure delivery of such notification in the centrasite.xml configuration file.
To use custom email templates for API key revocation
1. Use a text editor to open the configuration file centrasite.xml. The configuration file is located in the <CentraSiteInstallDir>\cast\cswebapps\BusinessUI\custom\conf directory.
2. Locate the KeyRevocationSettings element in the file.
The key revocation notification settings would look like the following:
<KeyRevocationSettings>
<Approve
subject="CS_MSG_INMBU_DEFAUL_EMAIL_SUBJECT_ACCESS_KEY_REVOCATION_NOTIFI
CATION"
template="APIKeyRevocationSuccess.html"/>
</KeyRevocationSettings>
3. Uncomment the section APIKeySettings to enable key revocation notifications.
4. In the Approve property, provide a suitable subject if you do not want to use the default subject, and specify the name of the custom email template.
5. Save and close the file.
6. Restart Software AG Runtime.
Copyright © 2005-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback