Zitadel PHP Client 1.3.6
PHP Client for Zitadel
|
Public Member Functions | |
__construct (array $settings) | |
setUserId (int $userid) | |
delete () | |
Class to delete a user. The state of the user will be changed to 'deleted'. The user will not be able to log in anymore. Endpoints requesting this user will return an error 'User not found'
Definition at line 13 of file Delete.php.
__construct | ( | array | $settings | ) |
Initialize the user deletion
$settings | array The settings array |
Definition at line 20 of file Delete.php.
delete | ( | ) |
Deletes the user and sends the request to Zitadel
Exception | Returns an exception with an error code and a message if the communication with Zitadel fails |
Definition at line 37 of file Delete.php.
setUserId | ( | int | $userid | ) |
Set the user ID of the user you want to delete
$userid | int The id of the user |
Definition at line 29 of file Delete.php.