Someline\Api\Controllers\UsersController::destroy PHP Метод

destroy() публичный Метод

Remove the specified resource from storage.
public destroy ( integer $id ) : Illuminate\Http\Response
$id integer
Результат Illuminate\Http\Response
    public function destroy($id)
    {
        $deleted = $this->repository->delete($id);
        if ($deleted) {
            // Deleted, return 204 No Content
            return $this->response->noContent();
        } else {
            // Failed, throw exception
            throw new DeleteResourceFailedException();
        }
    }