POST /files/{fileId}/approvals/{approvalId}:decline
Changed onDeclines an approval. For more information, see Manage approvals. This is used to update the ReviewerResponse of the requesting user with a Response of DECLINED. This also completes the approval and sets the approval Status to DECLINED.
Request
- Base URLhttps://www.googleapis.com/drive/v3
- Auth
- OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/driveAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/drive.fileAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive.file
- or OAuth 2 and OAuth 2Implicithttps://accounts.google.com/o/oauth2/authScopeshttps://www.googleapis.com/auth/drive.metadataAuthorization codehttps://accounts.google.com/o/oauth2/authToken URLhttps://accounts.google.com/o/oauth2/tokenScopeshttps://www.googleapis.com/auth/drive.metadata
Path parameters
Required. The ID of the file that the approval is on.
Required. The ID of the approval to decline.
Request body
Response
Successful response
Changes
- info
the security scope
https://www.googleapis.com/auth/drivewas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drivewas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/drive.metadatawas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drive.metadatawas removed from the endpoint's security schemeOauth2c
- info
- info
the security scope
https://www.googleapis.com/auth/drivewas added to the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drivewas added to the endpoint's security schemeOauth2c - info
the security scope
https://www.googleapis.com/auth/drive.metadatawas removed from the endpoint's security schemeOauth2 - info
the security scope
https://www.googleapis.com/auth/drive.metadatawas removed from the endpoint's security schemeOauth2c
- info