作为this的后续内容,在建立共享链接后,如何删除对文档的访问权限?
我会假设它是这样的(我将角色设置为'none')但是这不起作用:
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>
答案 0 :(得分:1)
您必须向ACL网址发送DELETE请求,如https://developers.google.com/google-apps/documents-list/#removing_sharing_permissions
中所述