younifyd
Menu

Drive.permissions.delete

Deletes a permission.

DELETE/files/{fileId}/permissions/{permissionId}

Use it in a workflow

  1. Add a step and choose the Google Drive connector.
  2. Pick the Drive.permissions.delete action (under permissions).
  3. Fill in the fields below, then reference the result from later steps as {{drivePermissionsDelete.response.data}}.

Request

Path parameters

fileIdstringrequired

The ID of the file or shared drive.

permissionIdstringrequired

The ID of the permission.

Query parameters

altstring

Data format for the response.

One ofjson

fieldsstring

Selector specifying which fields to include in a partial response.

keystring

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_tokenstring

OAuth 2.0 token for the current user.

prettyPrintboolean

Returns response with indentations and line breaks.

quotaUserstring

An opaque string that represents a user for quota purposes. Must not exceed 40 characters.

userIpstring

Deprecated. Please use quotaUser instead.

supportsAllDrivesboolean

Whether the requesting application supports both My Drives and shared drives.

supportsTeamDrivesboolean

Deprecated use supportsAllDrives instead.

useDomainAdminAccessboolean

Issue the request as a domain administrator; if set to true, then the requester will be granted access if the file ID parameter refers to a shared drive and the requester is an administrator of the domain to which the shared drive belongs.

Response

Returns 200 with a any. Read it in later steps with {{drivePermissionsDelete.response.data.<field>}}.

Need more? See the Google Drive guide for connection setup and behaviour shared by every action.