Unsuspend all users in Zendesk | Community
Skip to main content

Unsuspend all users in Zendesk

  • March 12, 2024
  • 2 replies
  • 0 views

Hello,

Is there a way to unsuspend all users at once in Zendesk Support by running a script like the below:

curl https://[subdomain].zendesk.com/api/v2/users/update_many.json?ids=1,2,3 \
-d '{"user": {"suspended": false}}' \
-H "Content-Type: application/json" -X PUT \
-v -u {email_address}:{password}

If yes what would the script be how would I run it?

Thank you.

Kind Regards,

Anton

 

2 replies

Shawna11
  • Community Manager
  • March 14, 2024
Hey Anton, i've moved this over to Q&A for better visibility with our Community to help answer your question. We can move it back to feedback if needed. Thank you again for engaging in our Community!

Git-Zen11
  • March 14, 2024

Hi Anton, you should check out ZCLI

https://developer.zendesk.com/documentation/apps/getting-started/using-zcli/

You are going to have to sign into your domain and then you should be able to run your script