set_drive_by_id()

Set Drive for API calls

set_drive_by_id()

This method will set which Drive will be used for other API calls.

Parameters

Name
Type
Description

$drive_id

string

Drive ID

Usage

$account = WPCP_ONEDRIVE_API::set_account_by_id('8c9bacda0-d8d8-4b22-b634-7b5281687575');

WPCP_ONEDRIVE_API::set_drive_by_id('b!DlaHWskCed_MIid3KpJH5Lbatf9HsdXBAZH5YcvPAbMhJUKzTJyzgvXZYpBS');

Last updated