4 operation(s). Part of the API index.
Call these as client.<service>.<method>(...). <service> is the client field for this
group — the README lists the field name for every service.
These pages group operations the way the OpenAPI specification tags them, which
is not always one field per page.
POST /v2/manage/email-templates
Create Email template
Adds a new Email template to the Tenant's configuration.
public static void callAddEmailTemplate(LoginRadiusClient client) {
EmailTemplateModel emailTemplateModel = new EmailTemplateModel().templateType("<templateType>").template("<template>").subject("<subject>"); //Required
try {
var response = client.emailTemplates.addEmailTemplate(emailTemplateModel);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}EmailTemplateModel as application/json.
EmailTemplateResponse
DELETE /v2/manage/email-templates/{templateType}
Delete Email Template
Deletes the Email template for a specified Email template type within a specific Tenant.
public static void callDeleteEmailTemplate(LoginRadiusClient client) {
String templateType = "<templateType>"; //Required
DeleteEmailTemplate deleteEmailTemplate = new DeleteEmailTemplate().templateName("<templateName>"); //Optional
try {
var response = client.emailTemplates.deleteEmailTemplate(templateType, deleteEmailTemplate);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
templateType |
path | string | yes | The type of Email template to delete. |
DeleteEmailTemplate as application/json.
DeleteResponse
GET /v2/manage/email-templates
List Email templates
Retrieves all Email templates configured for the Tenant.
public static void callGetEmailTemplates(LoginRadiusClient client) {
try {
var response = client.emailTemplates.getEmailTemplates();
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}object
PUT /v2/manage/email-templates/{templateType}
Update Email Template
Updates the Email template for a specified Email template type within a specific Tenant.
public static void callUpdateEmailTemplate(LoginRadiusClient client) {
String templateType = "<templateType>"; //Required
UpdateEmailTemplate updateEmailTemplate = new UpdateEmailTemplate().template("<template>").subject("<subject>"); //Required
try {
var response = client.emailTemplates.updateEmailTemplate(templateType, updateEmailTemplate);
System.out.println(response);
} catch (ApiException e) {
LoginRadiusException lr = LoginRadiusClient.toLoginRadiusException(e);
System.err.println(lr.description());
}
}| Name | In | Type | Required | Description |
|---|---|---|---|---|
templateType |
path | string | yes | The type of Email template to delete. |
UpdateEmailTemplate as application/json.
EmailTemplateResponse