Unsubscribing a user from all emails via an API call?

Yes. Management has told me to unsubscribe users from discourse email when the user unsubs from site emails.