action britbox_reset_password { label: "resetPassword" description: "When a user requests to reset their password via the /request-password-reset endpoint, an\nemail is sent to the email address of the primary profile of the account. This email contains a link\nwith a reset token as query parameter. The link should take the user to the \"reset-password\"\npage of the website.\n\nFrom the reset-password page a user should enter the new password they wish to use. \nIt should then be submitted to this endpoint,\nalong with the reset token from the email link. \nThe token should be provided in the body as resetToken property.\n" provider: britbox method: POST path: "/reset-password" encoding: json input: { type: "object" required: ["password", "resetToken"] properties: { password: { type: "string" description: "The new password for the account." } resetToken: { type: "string" description: "The ITV reset token." } } additionalProperties: false } output: { type: "object" additionalProperties: true } }