There is an option to activate a user account in the admin backend, without the user needing to click a link received by e-mail. I just had a look what API function that uses, and it turns out to be this HTTP request:
PUT https://example.com/admin/users/123/activate
Where you’d replace 123 with the user ID of the user in question, of course.