Skip to main content
GET
/
document
/
v1
/
drive
/
{driveId}
/
permission
cURL
curl --request GET \
  --url https://aodocs.altirnao.com/api/document/v1/drive/{driveId}/permission \
  --header 'Authorization: Bearer <token>'
{
  "drivePermissions": [
    {
      "additionalRoles": [
        "<string>"
      ],
      "allowlisted": true,
      "belongsToDomain": true,
      "email": "<string>",
      "googleEmailAddress": true,
      "kind": "<string>",
      "name": "<string>",
      "permissionId": "<string>",
      "role": "<string>",
      "thumbnailPhotoUrl": "<string>",
      "type": "<string>",
      "withLink": true
    }
  ],
  "kind": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

driveId
string
required

The ID of the file

Query Parameters

securityCode
string

The security code

domain
string

The G Suite domain

Response

200 - application/json

A ApiDrivePermissionList response

drivePermissions
object[]
kind
string