15 lines
240 B
Markdown
15 lines
240 B
Markdown
|
<?php
|
||
|
|
||
|
use Appwrite\Client;
|
||
|
use Appwrite\Services\Projects;
|
||
|
|
||
|
$client = new Client();
|
||
|
|
||
|
$client
|
||
|
setProject('')
|
||
|
setKey('')
|
||
|
;
|
||
|
|
||
|
$projects = new Projects($client);
|
||
|
|
||
|
$result = $projects->updateKey('[PROJECT_ID]', '[KEY_ID]', '[NAME]', []);
|