1

作为对此的跟进,当我建立共享链接后,如何删除对文档的访问权限?

我会假设它是这样的(我将角色设置为“无”),但这不起作用:

POST /feeds/default/private/full/<resource_id>/acl
GData-Version: 3.0
Authorization: OAuth <access_token>

<entry xmlns='http://www.w3.org/2005/Atom' xmlns:gAcl='http://schemas.google.com/acl/2007'>
<category scheme='http://schemas.google.com/g/2005#kind'
 term='http://schemas.google.com/acl/2007#accessRule'/>
  <gAcl:withKey key='dummy_key'>
     <gAcl:role value='none'/>
  </gAcl:withKey>
  <gAcl:scope type='default'/>
</entry>
4

1 回答 1

1

您必须向 ACL url 发送 DELETE 请求,如https://developers.google.com/google-apps/documents-list/#removing_sharing_permissions中所述

于 2012-05-08T17:59:08.573 回答