Change email-addresses using the API?


(bastian meissner) #1

Hello,
I’m trying to change the email-addresses of users with the help of a PHP script. The documentation on docs.discourse.com does not mention anything about usage of the “update email” put requests (or put requests in general). Can anyone explain how I have to insert my api-key and the new email address into the request in order for this to work? I’d also appreciate a cURL terminal-command if that’s easier.