Is it possible to update multiple host key trough API

Hi,

I can update a single user’s hots key with out any problem using PATCH update user API.

My question would be is it possible to update multiple user with different host keys using API?

Joel Dapiawen

Hey @joel.dapiawen,

You would have to make multiple API requests.

Thanks,
Tommy

Thanks Tommy for the reply, so meaning we can only update a user one at a time in single button click. I was hoping I could create a loop to find all the userid then create a counter for hostkeys that will automatically create unique hostkeys then do the multiple patch in a single button click. Is this possble?

Hey @joel.dapiawen,

You could totally iterate through all your users and update them programmatically.

Thanks,
Tommy