Change an organisation's wording for one email

Needs permission organisation-settings:write.

A JSON Merge Patch (RFC 7396): leave a field out to keep it, send null to clear it (the email then uses the inherited wording), send text to change it. Plain text only, with the placeholders the email lists, written {{like.this}}. enabled: false switches off an email that can be switched off (canBeSwitchedOff; 400 email_cannot_be_switched_off otherwise), true switches it back on, null follows the account (or, for the account, sends it). Send every field as null to go back to the standard wording. Every save is kept as a version (see the revisions operation). Applies to this organisation only. Refused wording answers 400 with one validationIssues entry per thing to fix, and nothing is saved. Emails sent after the save carry it. API tokens cannot change or preview an organisation's emails (403 email_settings_need_a_person).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The organisation to act on. It must be the one selected with X-Org-Id: a request naming two different organisations is refused with 403.

string
enum
required

The email, by the event name its webhook delivery events carry, as listed by the list operation: PayslipGeneratedEvent, P45GeneratedEvent, P60GeneratedEvent, EmployeePensionEnrolmentEvent, EmployeePensionReEnrolmentEvent, EmployeePensionPostponementEvent, EmployeePensionOptInInformationEvent, EmployeePensionOptInConfirmationEvent, EmployeePensionJoinConfirmationEvent, ReportReadyEvent.

Body Params

Absent: keep. null: clear and inherit. Text: set.

string | null
string | null
string | null
string | null
string | null
boolean | null

false: switch the email off. true: on. null: follow the account.

Headers
string
enum
Defaults to application/merge-patch+json

Generated from available request content types

Allowed:
Responses

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json