Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Email Settings API - How to delete Send-as alias

The Google Apps Email Settings API describes creating and retrieving Send-as aliases, but not how to delete them. Is it possible to do this via the API, or is there a workaround?

I'm using the Directory API to add and delete user aliases, which takes care of whether someone can receive at an alias, but I'm stuck on how to remove their Send-as alias.

like image 603
James Avatar asked Nov 28 '25 06:11

James


2 Answers

The ability to delete send-as aliases has been added to the API, though I haven't tested it myself - https://developers.google.com/gmail/api/v1/reference/users/settings/sendAs/delete

like image 158
James Avatar answered Nov 29 '25 23:11

James


There is no sendas delete method. Users must manually delete the sendas from the UI.

like image 37
Jay Lee Avatar answered Nov 30 '25 00:11

Jay Lee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!