15 lines
215 B
Markdown
15 lines
215 B
Markdown
|
<?php
|
||
|
|
||
|
use Appwrite\Client;
|
||
|
use Appwrite\Services\Users;
|
||
|
|
||
|
$client = new Client();
|
||
|
|
||
|
$client
|
||
|
->setProject('')
|
||
|
->setKey('')
|
||
|
;
|
||
|
|
||
|
$users = new Users($client);
|
||
|
|
||
|
$result = $users->updateUserPrefs('[USER_ID]', '{}');
|