eZ\Publish\Core\REST\Server\Controller\User::deleteSession PHP Method

deleteSession() public method

Deletes given session.
Deprecation: Deprecated since 6.5. Use SessionController::refreshSessionAction().
public deleteSession ( string $sessionId, Request $request ) : DeletedUserSession | Response
$sessionId string
$request Symfony\Component\HttpFoundation\Request
return eZ\Publish\Core\REST\Server\Values\DeletedUserSession | Symfony\Component\HttpFoundation\Response
    public function deleteSession($sessionId, Request $request)
    {
        @trigger_error(E_USER_DEPRECATED, 'The session actions from the User controller are deprecated since 6.5. Use the SessionController instead.');
        return $this->sessionController->deleteSessionAction($sessionId, $request);
    }