How to bulk update user signatures across the domain? #725
|
Is there a way to update email signatures for all users in our organization using the CLI? We're rolling out a new company signature template and manually updating 200+ users through the admin console sounds painful. I saw the |
Answered by
Shiven0504
Apr 14, 2026
Replies: 2 comments 5 replies
|
Yeah you can do this! Use the sendas settings command. Here's the basic syntax: For bulk updates, you'd loop through a user list. Something like: Make sure your service account has the right delegated admin API scopes. |
2 replies
Answer selected by
BittuChan
|
Got it. I'll write a script to fetch existing ones first and merge the new footer template. |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah you can do this! Use the sendas settings command. Here's the basic syntax:
gws gmail settings sendas update <email> --signature "Your HTML signature here"For bulk updates, you'd loop through a user list. Something like:
Make sure your service account has the right delegated admin API scopes.