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 |
Beta Was this translation helpful? Give feedback.
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. |
Beta Was this translation helpful? Give feedback.
-
|
Got it. I'll write a script to fetch existing ones first and merge the new footer template. |
Beta Was this translation helpful? Give feedback.
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.