src/Entity/XiboUser.php
public function delete($deleteAllItems = 0, $reassignUserId = null)
    {
        $this->getLogger()->info('Deleting User ID ' . $this->userId);
        $this->doDelete('/user/' . $this->userId, [
            'deleteAllItems' => $deleteAllItems,
            'reassignUserId' => $reassignUserId
        ]);

        return true;
    }
public function delete($deleteAllItems = 0, $reassignUserId = null)
    {
        $this->getLogger()->info('Deleting User ID ' . $this->userId);
        $this->doDelete('/user/' . $this->userId, [
            'deleteAllItems' => $deleteAllItems,
            'reassignUserId' => $reassignUserId
        ]);

        return true;
    }
public function delete ( $ deleteAllItems = 0 , $ reassignUserId = null ) { $ this -> getLogger ( ) -> info ( 'Deleting User ID ' . $ this -> userId ) ; $ this -> doDelete ( '/user/' . $ this -> userId , [ 'deleteAllItems' => $ deleteAllItems , 'reassignUserId' => $ reassignUserId ] ) ; return true ; }
Delete the User.

@param int $deleteAllItems Flag indicating whether to delete all items owned by that user
@param int $reassignUserId Reassign all items owned by this user to the specified user ID
@return bool
Delete the User .