Configuring Email Templates for Access Token Revocation
Once the API key or the OAuth 2.0 token revocation is processed, CentraSite sends an email message to the API Consumer informing that the request has been processed successfully.
To configure email templates for access key revocation
1. Open the customization file, centrasite.xml, in a rich text editor.
You can find the centrasite.xml file on <CentraSiteInstall_Directory>\cast\cswebapps\BusinessUI\custom\conf.
2. Locate the property KeyRevocationSettings.
The notification settings for the API key and OAuth 2.0 token revocation would look like the following:
<KeyRevocationSettings>
<Approve
subject="CS_MSG_INMBU_DEFAUL_EMAIL_SUBJECT_ACCESS_KEY_REVOCATION_
NOTIFICATION" template="APIKeyRevocationSuccess.html"/>
</KeyRevocationSettings>
3. Uncomment the section APIKeySettings to enable the access token revocation notifications.
4. Use the property, Approve, to 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.