Documents

Discard the temporary Office session without changing Drive

Changed on

Requires organization membership, Workbot and Documents, and the member’s authorized Drive connection. Saving explicitly commits the selected draft version; native Google files first create an Office copy.

post/v1/documents/google-drive/files/{fileId}/office/{sessionId}/close

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/documents/google-drive/files/{fileId}/office/{sessionId}/close
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Path parameters

fileIdstring required
sessionIdstring uuid required

Response

Office editor result.

oktrue required

Changes