Capability Sources

Create or replace a OneDrive text file as the calling member

Changed on

Creates or replaces a bounded UTF-8 text file at a path in the calling member's OneDrive.

put/v1/capabilities/microsoft-365/drive-files

Request

  • Base URL: https://api.openworklabs.com
  • URL: https://api.openworklabs.com/v1/capabilities/microsoft-365/drive-files
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

pathstring required
contentstring required

Response

OneDrive file written.

oktrue required

Changes

    • info

      the endpoint scheme security bearerAuth was added to the API

    • info

      the endpoint scheme security denApiKey was added to the API

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status