Skip to content

how to make shared link password protected #176

@baberzaman

Description

@baberzaman

Here is the simple Shared Link with Public visibility. I want to make password protected shared link. Can anyone help how i can do that

(/**
* Assuming you have configured the DropboxApp class
* @see https://github.com/kunalvarma05/dropbox-php-sdk/wiki/Configuration
*/
$dropbox = new Dropbox($app);
$response = $dropbox->postToAPI("/sharing/create_shared_link_with_settings", ["path" => "/hello-world.txt", "settings" => ['requested_visibility' => 'public']]);

$data = $response->getDecodedBody();
var_dump($data))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions