email_templates

POST `/api/v0/main-frontend/email-templates` Creates a global template; rejects a second live one for the same type and language.

Changed on
post/api/v0/main-frontend/email-templates

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

contentunknown
languagestring nullable
subjectstring nullable
template_type'reset_password_email' | 'delete_user_email' | 'confirm_email_code' | 'generic' | 'credit_registration_account_linking' | 'verify_email_address' | 'credit_registration_action_needed' | 'credit_registration_registered' required

Response

Created email template

contentunknown
course_idstring uuid nullable
created_atstring date-time required
deleted_atstring date-time nullable
exercise_completions_thresholdinteger nullable
idstring uuid required
languagestring nullable
points_thresholdinteger nullable
subjectstring nullable
template_type'reset_password_email' | 'delete_user_email' | 'confirm_email_code' | 'generic' | 'credit_registration_account_linking' | 'verify_email_address' | 'credit_registration_action_needed' | 'credit_registration_registered' required
updated_atstring date-time required

Changes