cURL
documentId
Put documentv1beta1 publish
Publishes or unpublishes a document’s attachments on Drive.
PUT
cURL
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The ID of the document
Query Parameters
The Drive publication status of the attachment
Available options:
NONE, DOMAIN, EVERYONE The security code
The G Suite domain
Response
200 - application/json
A ApiAttachmentCollection response
An ordered list of ApiAttachment