Update send-as
documentedUpdates a send-as alias.
PUT /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}Usersno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://gmail.googleapis.com/gmail/v1/users/{{$user_id}}/settings/sendAs/{{$sendAsEmail}}?key={{GMAIL_API_KEY}}" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"displayName": "{{$displayName}}", "isDefault": {{$isDefault}}, "isPrimary": {{$isPrimary}}, "replyToAddress": "{{$replyToAddress}}", "signature": "{{$signature}}"}'