Restore a saved version of an organisation's wording for one email

Needs permission organisation-settings:write.

Puts a saved version back: its wording and on/off choice are saved again as a new version, exactly as a change would be, and the restored settings are returned. 404 email_wording_revision_not_found when the version does not exist. 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.

string
required

A version's revisionId, as the revisions operation lists it.

Responses

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