Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:34:24+00:00 2026-06-04T06:34:24+00:00

Using the google document API, I am creating a document and added access rules.

  • 0

Using the google document API, I am creating a document and added access rules. In my system I only have one email address of this particular user. Let’s say it’s johndoe@company.com. Using that email address I add an access rule to my google doc. Within google John Doe has two email addresses: a primary (johndoe@gmail.com) and a secondary (johndoe@company.com). Google seems to be smart enough to make the association and when I look at the sharing for that document it shows John’s primary email address (johndoe@gmail.com).

The problem is now I need to find that access rule and delete it, so I do a find (using the document API) to find the access rule by email address and since I only have the one email address (johndoe@company.com) google returns nothing.

Hopefully I’m missing a simple solution here such as:

  • Can I request the access rule from google using the email address I
    have and using some undocumented feature have google look up the
    record via primary or secondary email address?

  • Obtain the primary email address on access rule creation? (doesn’t
    appear to be returned).

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:34:26+00:00Added an answer on June 4, 2026 at 6:34 am

    According to the API, you just need to issue a DELETE request for the give acl. See “Removing sharing permissions”. So, it should resolve the primary/secondary emails for you just like add.

    https://developers.google.com/google-apps/documents-list/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using 'git' to checkout chromium code by following this document: http://code.google.com/p/chromium/wiki/UsingGit And
I have a problem with Google suggest API when using Chinese locale. I am
I have a Google Chart (using the Google Visualization API , not Google Charts
I am using Google Maps Api v3 to display a map. This is the
I'm using a google map api from this website , thanks to the author.
I am using Google Maps API for reverse lookup of an address, specifically Country,
I have been trying to plot these on a scatter chart using google api.
I'm using the Google Maps Javascript API and I have LatLng coordinates that are
Using the Document List API v3.0, I'm already creating a document. But now I
I am trying to upload the document using Google API through my iPhone App.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.