DELETE/sharedrives/{sharedriveId}/files/{fileId}/permissions

Removes access permissions for a folder in a collaborative drive.

Caution

  • Currently, this API operation removes the access permissions set for a folder, allowing anyone to access the folder. In v3.6 or later, however, it removes only members' access permissions to the folder, allowing only the collaborative drive master to access the folder.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

file

HTTP Request

DELETEhttps://www.worksapis.com/v1.0/sharedrives/{sharedriveId}/files/{fileId}/permissions

Path Parameters

ParameterTypeDescription
sharedriveId string 

Collaborative drive ID


required
example : @2101000000000008 
fileId string 

File ID


required
example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 204

No Content