Skip to main content
POST
/
folder
/
v1
/
folders
/
{folderId}
/
extendedPermissions
cURL
curl --request POST \
  --url https://aodocs.altirnao.com/api/folder/v1/folders/{folderId}/extendedPermissions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "folderId": "<string>",
  "inheritPermissions": true,
  "inheritedRestrictedDownload": true,
  "kind": "<string>",
  "permissions": [
    {
      "inherited": true,
      "name": "<string>",
      "name_i18n": "<string>",
      "role": "READER",
      "thumbnailPhotoUrl": "<string>",
      "type": "ANYONE",
      "value": "<string>"
    }
  ],
  "restrictedDownload": true
}
'
{
  "folderId": "<string>",
  "inheritPermissions": true,
  "inheritedRestrictedDownload": true,
  "kind": "<string>",
  "permissions": [
    {
      "inherited": true,
      "name": "<string>",
      "name_i18n": "<string>",
      "role": "READER",
      "thumbnailPhotoUrl": "<string>",
      "type": "ANYONE",
      "value": "<string>"
    }
  ],
  "restrictedDownload": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

folderId
string
required

Query Parameters

securityCode
string

The security code

domain
string

The G Suite domain

Body

application/json
folderId
string
inheritPermissions
boolean

Whether the folder inherits permissions from its parent folder

inheritedRestrictedDownload
boolean

Whether the attachments of the document are restricted to download, copy and print for readers and commenters because of an ancestor (read-only)

kind
string
permissions
object[]
restrictedDownload
boolean

Whether the attachments of the documents are explicitly marked as restricted to download, copy and print for readers and commenters

Response

200 - application/json

A ApiFolderPermissions response

folderId
string
inheritPermissions
boolean

Whether the folder inherits permissions from its parent folder

inheritedRestrictedDownload
boolean

Whether the attachments of the document are restricted to download, copy and print for readers and commenters because of an ancestor (read-only)

kind
string
permissions
object[]
restrictedDownload
boolean

Whether the attachments of the documents are explicitly marked as restricted to download, copy and print for readers and commenters